Performs some special evaluation on the node. This method has the responsibility for evaluating the children of the node and it should generally call pv.eval(node.jjtGetChild(i)) for each child.

The SymbolTable is not passed as an argument. This is because it is better practice to get and set variable values by using node.GetVar().SetValue() rather that through the SymbolTable with requires a hashtable lookup.

Namespace:  SingularSys.Jep.Functions
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
Object Evaluate(
	INode node,
	IEvaluator pv
)
Visual Basic (Declaration)
Function Evaluate ( _
	node As INode, _
	pv As IEvaluator _
) As Object
Visual C++
Object^ Evaluate(
	INode^ node, 
	IEvaluator^ pv
)

Parameters

node
Type: SingularSys.Jep.Parser..::.INode
The current node
pv
Type: SingularSys.Jep..::.IEvaluator
The visitor, can be used evaluate the children

Return Value

the value after evaluation

Exceptions

See Also