C# Class NVelocity.Runtime.Parser.Node.ASTEQNode

Handles the equivalence operator * == * This operator requires that the LHS and RHS are both of the same Class. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Afficher le fichier Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Méthodes publiques

Méthode Description
ASTEQNode ( Parser p, int id ) : System
ASTEQNode ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor. *

Evaluate ( IInternalContextAdapter context ) : bool

Calculates the value of the logical expression arg1 == arg2 All class types are supported. Uses equals() to determine equivalence. This should work as we represent with the types we already support, and anything else that implements equals() to mean more than identical references.

Method Details

ASTEQNode() public méthode

public ASTEQNode ( Parser p, int id ) : System
p Parser
id int
Résultat System

ASTEQNode() public méthode

public ASTEQNode ( int id ) : System
id int
Résultat System

Accept() public méthode

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
Résultat Object

Evaluate() public méthode

Calculates the value of the logical expression arg1 == arg2 All class types are supported. Uses equals() to determine equivalence. This should work as we represent with the types we already support, and anything else that implements equals() to mean more than identical references.
public Evaluate ( IInternalContextAdapter context ) : bool
context IInternalContextAdapter internal context used to evaluate the LHS and RHS
Résultat bool