public abstract class AbstractEcmascriptNode<T extends org.mozilla.javascript.ast.AstNode> extends AbstractNode implements EcmascriptNode<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
node |
beginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
AbstractEcmascriptNode(T node) |
| Modifier and Type | Method and Description |
|---|---|
Object |
childrenAccept(EcmascriptParserVisitor visitor,
Object data)
Accept the visitor.
|
String |
getJsDoc()
Get the JsDoc associated with the given node.
|
T |
getNode()
Get the underlying Rhino AST node.
|
boolean |
hasSideEffects() |
Object |
jjtAccept(EcmascriptParserVisitor visitor,
Object data)
Accept the visitor.
|
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, jjtClose, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, 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, jjtClose, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setDataFlowNode, setImage, setUserDataprotected final T extends org.mozilla.javascript.ast.AstNode node
public AbstractEcmascriptNode(T node)
public Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
jjtAccept in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>public Object childrenAccept(EcmascriptParserVisitor visitor, Object data)
childrenAccept in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>public T getNode()
EcmascriptNodegetNode in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>public String getJsDoc()
EcmascriptNodegetJsDoc in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>null.public boolean hasSideEffects()
hasSideEffects in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>public String toString()
AbstractNodetoString in class AbstractNodeCopyright © 2002-2014 InfoEther. All Rights Reserved.