public abstract class AbstractJavaNode extends AbstractNode implements JavaNode
| Modifier and Type | Field and Description |
|---|---|
protected JavaParser |
parser |
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor and Description |
|---|
AbstractJavaNode(int id) |
AbstractJavaNode(JavaParser parser,
int id) |
| Modifier and Type | Method and Description |
|---|---|
Object |
childrenAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
Comment |
comment() |
void |
comment(Comment theComment) |
Scope |
getScope() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
jjtClose() |
void |
jjtOpen() |
void |
setScope(Scope scope) |
String |
toString() |
appendElement, 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, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, 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, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserDataprotected JavaParser parser
public AbstractJavaNode(int id)
public AbstractJavaNode(JavaParser parser, int id)
public void jjtOpen()
jjtOpen in interface NodejjtOpen in class AbstractNodepublic void jjtClose()
jjtClose in interface NodejjtClose in class AbstractNodepublic Object jjtAccept(JavaParserVisitor visitor, Object data)
public Object childrenAccept(JavaParserVisitor visitor, Object data)
childrenAccept in interface JavaNodepublic Scope getScope()
getScope in interface JavaNodegetScope in interface ScopedNodepublic void comment(Comment theComment)
public Comment comment()
public String toString()
toString in class AbstractNodeCopyright © 2002–2016 InfoEther. All rights reserved.