org.apache.velocity.runtime.parser.node
public class ASTNumberLiteral extends SimpleNode
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
value |
Constructor and Description |
---|
ASTNumberLiteral(int id) |
ASTNumberLiteral(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data)
Initialization method - doesn't do much but do the object
creation.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
java.lang.Object |
value(InternalContextAdapter context) |
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString
public ASTNumberLiteral(int id)
public ASTNumberLiteral(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init
in interface Node
init
in class SimpleNode
java.lang.Exception
public java.lang.Object value(InternalContextAdapter context)
value
in interface Node
value
in class SimpleNode
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.