private Object getValueFromSymbolTable() { ISymbol symbol = _symbolTable.getSymbol( _name ); if( symbol instanceof Symbol ) { return ((Symbol)symbol).getValueDirectly(); } if( symbol != null ) { return symbol.getValue(); } return _value; }
private Object getValueFromSymbolTable() { ISymbol symbol = _symbolTable.getSymbol( _name ); if( symbol instanceof Symbol ) { return ((Symbol)symbol).getValueDirectly(); } if( symbol != null ) { return symbol.getValue(); } return _value; }
@Override public Object getValue(String name) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { return ((IDynamicPropertySymbol) symbol).getGetterDfs().invoke(new Object[]{this}); } else { return symbol.getValue(); } }
@Override public Object getValue(String name) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { return ((IDynamicPropertySymbol) symbol).getGetterDfs().invoke(new Object[]{this}); } else { return symbol.getValue(); } }
_cr.printString( " " + symbol.getName() + " : " + symbol.getType() + " = " + GosuShop.toString( symbol.getValue() ) + "\n" );
_cr.printString( " " + symbol.getName() + " : " + symbol.getType() + " = " + GosuShop.toString( symbol.getValue() ) + "\n" );
Object value = symbol.getValue();
Object value = symbol.getValue();