public class ASTLiteral extends AbstractJavaTypeNode
parserbeginColumn, beginLine, children, endColumn, endLine, id, parent| 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() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setCharLiteral() |
void |
setFloatLiteral() |
void |
setIntLiteral() |
void |
setStringLiteral() |
getType, setTypechildrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toStringappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserDatapublic ASTLiteral(int id)
public ASTLiteral(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic 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()
Copyright © 2002-2014 InfoEther. All Rights Reserved.