public final class LongLiteralExpr extends ConstantExpr implements LongLiteralExpression
| Constructor and Description |
|---|
LongLiteralExpr()
The noarg constructor is needed for ANTLR support and deserialization.
|
LongLiteralExpr(antlr.Token token)
The noarg constructor is needed for ANTLR support.
|
| Modifier and Type | Method and Description |
|---|---|
void |
arrive(NodeVisitor visitor)
Delegates to the argument
visitor. |
long |
getLong()
Returns the long value represented by this expression.
|
java.lang.Object |
leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor. |
getValue, newConstantclone, getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, toString, walkNextChildgetColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToStringaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValuegetChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, walkNextChildpublic LongLiteralExpr()
setChildren optionally.public LongLiteralExpr(antlr.Token token)
setChildren optionally.public long getLong()
getLong in interface LongLiteralExpressionpublic void arrive(NodeVisitor visitor)
visitor.arrive in interface Nodearrive in class ConstantExprvisitor - the node visitorpublic java.lang.Object leave(NodeVisitor visitor, java.lang.Object[] results)
visitor.leave in interface Nodeleave in class ConstantExprvisitor - the node visitorresults - the result arrayCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.