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() |
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__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, 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, setUserData
protected 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()
EcmascriptNode
getNode
in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>
public String getJsDoc()
EcmascriptNode
getJsDoc
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()
toString
in class AbstractNode
Copyright © 2002-2014 InfoEther. All Rights Reserved.