C# Класс NVelocity.Runtime.Parser.Node.ASTEQNode

Handles the equivalence operator * == * This operator requires that the LHS and RHS are both of the same Class. *
Наследование: NVelocity.Runtime.Parser.Node.SimpleNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ASTEQNode() публичный Метод

public ASTEQNode ( Parser p, int id ) : System
p Parser
id int
Результат System

ASTEQNode() публичный Метод

public ASTEQNode ( int id ) : System
id int
Результат System

Accept() публичный Метод

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
Результат Object

Evaluate() публичный Метод

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
Результат bool