net.sourceforge.pmd.lang.ast.Node, DestructuringNode, EcmascriptNode<org.mozilla.javascript.ast.ArrayLiteral>, TrailingCommaNodepublic class ASTArrayLiteral extends AbstractEcmascriptNode<org.mozilla.javascript.ast.ArrayLiteral> implements DestructuringNode, TrailingCommaNode
nodebeginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor | Description |
|---|---|
ASTArrayLiteral(org.mozilla.javascript.ast.ArrayLiteral arrayLiteral) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isDestructuring() |
|
boolean |
isTrailingComma() |
|
java.lang.Object |
jjtAccept(EcmascriptParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
setTrailingComma(boolean trailingComma) |
childrenAccept, getJsDoc, getNode, getXPathNodeName, hasSideEffectsappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDatapublic ASTArrayLiteral(org.mozilla.javascript.ast.ArrayLiteral arrayLiteral)
public java.lang.Object jjtAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
jjtAccept in interface EcmascriptNode<org.mozilla.javascript.ast.ArrayLiteral>jjtAccept in class AbstractEcmascriptNode<org.mozilla.javascript.ast.ArrayLiteral>public boolean isDestructuring()
isDestructuring in interface DestructuringNodepublic boolean isTrailingComma()
isTrailingComma in interface TrailingCommaNodepublic void setTrailingComma(boolean trailingComma)
setTrailingComma in interface TrailingCommaNodeCopyright © 2002–2018 PMD. All rights reserved.