Class ASTGTNode
java.lang.Object
org.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTGTNode
- 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.
- Author:
- Will Glass-Husain, Peter Romianowski
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(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
-
ASTGTNode
public ASTGTNode(int id) - Parameters:
id
-
-
ASTGTNode
- Parameters:
p
-id
-
-
-
Method Details
-
jjtAccept
- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
- Returns:
- The Node execution result object.
- See Also:
-
evaluate
- Specified by:
evaluate
in interfaceNode
- Overrides:
evaluate
in classSimpleNode
- Returns:
- The evaluation result.
- Throws:
MethodInvocationException
- See Also:
-
value
- Specified by:
value
in interfaceNode
- Overrides:
value
in classSimpleNode
- Returns:
- The node value.
- Throws:
MethodInvocationException
- See Also:
-