public abstract class AbstractJavaNode extends AbstractNode implements JavaNode
| Modifier and Type | Field and Description |
|---|---|
protected JavaParser |
parser |
beginColumn, beginLine, children, endColumn, endLine, id, 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()
This method is called after all the child nodes have been
added.
|
void |
jjtOpen()
This method is called after the node has been made the current
node.
|
void |
setScope(Scope scope) |
String |
toString()
Subclasses should implement this method to return a name usable with
XPathRule for evaluating Element Names.
|
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, 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, setUserDataprotected JavaParser parser
public AbstractJavaNode(int id)
public AbstractJavaNode(JavaParser parser, int id)
public void jjtOpen()
NodejjtOpen in interface NodejjtOpen in class AbstractNodepublic void jjtClose()
NodejjtClose 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()
AbstractNodetoString in class AbstractNodeCopyright © 2002-2014 InfoEther. All Rights Reserved.