public final class ASTNumberLiteral extends JexlNode implements JexlNode.Constant<Number>
JexlNode.Constant<T>id| Modifier and Type | Method and Description |
|---|---|
Number |
getLiteral() |
Class<?> |
getLiteralClass() |
protected boolean |
isConstant(boolean literal) |
boolean |
isInteger() |
Object |
jjtAccept(ParserVisitor visitor,
Object data)
Accept the visitor.
|
String |
toString() |
clearCache, isConstant, isLeftValue, jexlInfo, jjtSetFirstToken, jjtSetLastTokenchildrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toStringpublic String toString()
toString in class SimpleNodepublic Number getLiteral()
getLiteral in interface JexlNode.Constant<Number>protected boolean isConstant(boolean literal)
isConstant in class JexlNodepublic Class<?> getLiteralClass()
public boolean isInteger()
public Object jjtAccept(ParserVisitor visitor, Object data)
SimpleNodejjtAccept in interface NodejjtAccept in class SimpleNodevisitor - the visitordata - contextual dataCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.