public abstract class ExternalSymbolMapBase extends Object implements IExternalSymbolMap
| Modifier | Constructor and Description |
|---|---|
protected |
ExternalSymbolMapBase(boolean assumeSymbolsRequireExternalSymbolMapArgument) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ISymbol |
getSymbol(String name) |
Object |
getValue(String name)
Returns the value for the symbol with the given name.
|
Object |
getValue(String name,
int iArrayDims)
Called via bytecode.
|
Object |
invoke(String name,
Object[] args)
Invokes the named external function with the given arguments.
|
void |
setValue(String name,
Object value)
Sets the value of the symbol with the given name.
|
protected boolean |
shouldAddInExternalSymbolMapArgumentForFunctionSymbol(IFunctionSymbol symbol) |
protected void |
verifySymbol(String name,
ISymbol symbol) |
protected ExternalSymbolMapBase(boolean assumeSymbolsRequireExternalSymbolMapArgument)
public Object getValue(String name)
IExternalSymbolMapgetValue in interface IExternalSymbolMapname - the name of the symbolpublic Object getValue(String name, int iArrayDims)
IExternalSymbolMapgetValue in interface IExternalSymbolMapiArrayDims - the expected number of array dimensions of the the symbol's type, useful for
debugger expr evaluation for dynamically unwrapping type a single elem array (a captured var)public void setValue(String name, Object value)
IExternalSymbolMapsetValue in interface IExternalSymbolMapname - the name of the symbolvalue - the new value to give that symbolpublic Object invoke(String name, Object[] args)
IExternalSymbolMapinvoke in interface IExternalSymbolMapname - the name of the function symbolargs - the arguments to the methodprotected boolean shouldAddInExternalSymbolMapArgumentForFunctionSymbol(IFunctionSymbol symbol)
Copyright © 2015. All rights reserved.