| java.lang.Object oscript.NodeEvaluator oscript.interpreter.InterpretedNodeEvaluator
InterpretedNodeEvaluator | public class InterpretedNodeEvaluator extends oscript.NodeEvaluator (Code) | | author: Rob Clark (rob@ti.com) author: version: 1.10 |
InterpretedNodeEvaluator | InterpretedNodeEvaluator(String name, Node node)(Code) | | Class constructor.
Parameters: name - name of the node, for debugging Parameters: node - the wrapped node |
evalNode | public Object evalNode(StackFrame sf, Scope scope) throws PackagedScriptObjectException(Code) | | Evaluate, in the specified scope. If this is a function, the Arguments
to the function, etc., are defined in the scope that the
function is evaluated in.
Parameters: sf - the stack frame to evaluate the node in Parameters: scope - the scope to evaluate the function in the result of evaluating the function |
getFile | public AbstractFile getFile()(Code) | | Get the file that this node was parsed from.
the file |
getId | public int getId()(Code) | | Get the function symbol (name), if this node evaluator is a function,
otherwise return -1 .
the symbol, or -1 |
getSharedMemberIndexTable | public SymbolTable getSharedMemberIndexTable(int perm)(Code) | | Get the SMIT for the scope(s) created when invoking this node evaluator.
Parameters: perm - PRIVATE , PUBPROT ,ALL |
|
|