Class ASTLogicalOperator
- java.lang.Object
-
- org.apache.velocity.runtime.parser.node.SimpleNode
-
- org.apache.velocity.runtime.parser.node.ASTBinaryOperator
-
- org.apache.velocity.runtime.parser.node.ASTLogicalOperator
-
- All Implemented Interfaces:
Cloneable
,Node
,Renderable
- Direct Known Subclasses:
ASTAndNode
,ASTOrNode
public abstract class ASTLogicalOperator extends ASTBinaryOperator
-
-
Constructor Summary
Constructors Constructor Description ASTLogicalOperator(int id)
ASTLogicalOperator(Parser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
init(InternalContextAdapter context, Object data)
-
Methods inherited from class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
getLiteralOperator, literal
-
Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode
childrenAccept, cleanupParserAndTokens, clone, clone, dump, dump, dump, evaluate, execute, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, render, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, value
-
-
-
-
Constructor Detail
-
ASTLogicalOperator
public ASTLogicalOperator(int id)
-
ASTLogicalOperator
public ASTLogicalOperator(Parser p, int id)
-
-
Method Detail
-
init
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
- Specified by:
init
in interfaceNode
- Overrides:
init
in classASTBinaryOperator
- Returns:
- The init result.
- Throws:
TemplateInitException
- See Also:
Node.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)
-
-