public class ASTLiteral extends SimpleJavaTypeNode
beginColumn, beginLine, children, endColumn, endLine, id, parent, parser| Constructor and Description |
|---|
ASTLiteral(int id) |
ASTLiteral(JavaParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCharLiteral() |
boolean |
isFloatLiteral() |
boolean |
isIntLiteral() |
boolean |
isSingleCharacterStringLiteral()
Returns true if this is a String literal with only one character.
|
boolean |
isStringLiteral() |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setCharLiteral() |
void |
setFloatLiteral() |
void |
setIntLiteral() |
void |
setStringLiteral() |
getType, setTypechildrenAccept, jjtClose, jjtOpen, toStringappendElement, asXml, containsChildOfType, dump, dumpChildren, findChildNodesWithXPath, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstParentOfType, getImage, getLabel, getNthParent, getParentsOfType, getScope, hasImageEqualTo, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitjjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParentpublic ASTLiteral(int id)
public ASTLiteral(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class SimpleJavaNodepublic void setIntLiteral()
public boolean isIntLiteral()
public void setFloatLiteral()
public boolean isFloatLiteral()
public void setCharLiteral()
public boolean isCharLiteral()
public void setStringLiteral()
public boolean isStringLiteral()
public boolean isSingleCharacterStringLiteral()