Creates a ASTConstant whose value of applying binary operator to its arguments.

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

Syntax

C#
public ASTConstant BuildConstantNode(
	Operator op,
	INode child1,
	INode child2
)
Visual Basic (Declaration)
Public Function BuildConstantNode ( _
	op As Operator, _
	child1 As INode, _
	child2 As INode _
) As ASTConstant
Visual C++
public:
ASTConstant^ BuildConstantNode(
	Operator^ op, 
	INode^ child1, 
	INode^ child2
)

Parameters

op
Type: SingularSys.Jep..::.Operator
the binary operator to apply
child1
Type: SingularSys.Jep.Parser..::.INode
the first argument
child2
Type: SingularSys.Jep.Parser..::.INode
the second argument

Return Value

a new constant node

See Also