| java.lang.Object oscript.NodeEvaluator
All known Subclasses: oscript.interpreter.InterpretedNodeEvaluator, oscript.compiler.CompiledNodeEvaluator, oscript.compiler.CompiledInnerNodeEvaluator,
NodeEvaluator | abstract public class NodeEvaluator (Code) | | A NodeEvaluator is created by the NodeFactory to
evaluate a node. The node-evaluator can be used any number of times in
order to evaluate a node, and must be thread safe.
author: Rob Clark (rob@ti.com) author: version: 1.2 |
Field Summary | |
final public static int | ALL | final public static int | PRIVATE | final public static int | PUBPROT | final public static int[] | SMIT_PERMS |
ALL | final public static int ALL(Code) | | |
PRIVATE | final public static int PRIVATE(Code) | | |
PUBPROT | final public static int PUBPROT(Code) | | |
SMIT_PERMS | final public static int[] SMIT_PERMS(Code) | | |
evalNode | abstract public Object evalNode(StackFrame sf, Scope scope) throws PackagedScriptObjectException(Code) | | Evaluate, in the specified scope.
Parameters: sf - the stack frame to evaluate the node in Parameters: scope - the scope to evaluate the node in the result of evaluating the node |
getId | abstract public int getId()(Code) | | Get the function symbol (name), if this node evaluator is a function,
otherwise return -1 .
the symbol, or -1 |
getSharedMemberIndexTable | abstract public SymbolTable getSharedMemberIndexTable(int perm)(Code) | | Get the SMIT for the scope(s) created when invoking this node evaluator.
Parameters: perm - PRIVATE , PUBPROT ,ALL |
|
|