net.sourceforge.pmd.lang.ast.NodeAbstractEcmascriptNode, AbstractInfixEcmascriptNode, ASTArrayComprehension, ASTArrayComprehensionLoop, ASTArrayLiteral, ASTAssignment, ASTAstRoot, ASTBlock, ASTBreakStatement, ASTCatchClause, ASTComment, ASTConditionalExpression, ASTContinueStatement, ASTDoLoop, ASTElementGet, ASTEmptyExpression, ASTEmptyStatement, ASTExpressionStatement, ASTForInLoop, ASTForLoop, ASTFunctionCall, ASTFunctionNode, ASTIfStatement, ASTInfixExpression, ASTKeywordLiteral, ASTLabel, ASTLabeledStatement, ASTLetNode, ASTName, ASTNewExpression, ASTNumberLiteral, ASTObjectLiteral, ASTObjectProperty, ASTParenthesizedExpression, ASTPropertyGet, ASTRegExpLiteral, ASTReturnStatement, ASTScope, ASTStringLiteral, ASTSwitchCase, ASTSwitchStatement, ASTThrowStatement, ASTTryStatement, ASTUnaryExpression, ASTVariableDeclaration, ASTVariableInitializer, ASTWhileLoop, ASTWithStatement, ASTXmlDotQuery, ASTXmlExpression, ASTXmlMemberGet, ASTXmlStringpublic interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode> extends net.sourceforge.pmd.lang.ast.Node
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
childrenAccept(EcmascriptParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
java.lang.String |
getJsDoc() |
Get the JsDoc associated with the given node.
|
T |
getNode() |
Get the underlying Rhino AST node.
|
boolean |
hasSideEffects() |
|
java.lang.Object |
jjtAccept(EcmascriptParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDatajava.lang.Object jjtAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
java.lang.Object childrenAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
T getNode()
java.lang.String getJsDoc()
null.boolean hasSideEffects()
Copyright © 2002–2018 PMD. All rights reserved.