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
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity 1 사용 예제들

공개 메소드들

메소드 설명
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