Class ASTLTNode
java.lang.Object
org.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTLTNode
- All Implemented Interfaces:
Node,Renderable
Handles arg1 < arg2
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(InternalContextAdapter context) jjtAccept(ParserVisitor visitor, Object data) value(InternalContextAdapter context) Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode
childrenAccept, dump, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getLocation, getRuntimeServices, getTemplateName, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString, toString
-
Constructor Details
-
ASTLTNode
public ASTLTNode(int id) - Parameters:
id-
-
ASTLTNode
- Parameters:
p-id-
-
-
Method Details
-
jjtAccept
- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Returns:
- The Node execution result object.
- See Also:
-
evaluate
- Specified by:
evaluatein interfaceNode- Overrides:
evaluatein classSimpleNode- Returns:
- The evaluation result.
- Throws:
MethodInvocationException- See Also:
-
value
- Specified by:
valuein interfaceNode- Overrides:
valuein classSimpleNode- Returns:
- The node value.
- Throws:
MethodInvocationException- See Also:
-