C# 클래스 NVelocity.Runtime.Parser.Node.ASTOrNode

Please look at the Parser.jjt file which is what controls the generation of this class. *
상속: NVelocity.Runtime.Parser.Node.SimpleNode
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
ASTOrNode ( Parser p, int id ) : System
ASTOrNode ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor. *

Evaluate ( IInternalContextAdapter context ) : bool

the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right

Value ( IInternalContextAdapter context ) : Object

Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.

메소드 상세

ASTOrNode() 공개 메소드

public ASTOrNode ( Parser p, int id ) : System
p Parser
id int
리턴 System

ASTOrNode() 공개 메소드

public ASTOrNode ( int id ) : System
id int
리턴 System

Accept() 공개 메소드

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
리턴 Object

Evaluate() 공개 메소드

the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
public Evaluate ( IInternalContextAdapter context ) : bool
context IInternalContextAdapter
리턴 bool

Value() 공개 메소드

Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
리턴 Object