Method | Description | |
---|---|---|
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.
|
public ASTOrNode ( Parser p, int id ) : System | ||
p | Parser | |
id | int | |
return | System |
public Accept ( IParserVisitor visitor, Object data ) : Object | ||
visitor | IParserVisitor | |
data | Object | |
return | Object |
public Evaluate ( IInternalContextAdapter context ) : bool | ||
context | IInternalContextAdapter | |
return | bool |
public Value ( IInternalContextAdapter context ) : Object | ||
context | IInternalContextAdapter | |
return | Object |