public class ASTVariableDeclaration extends AbstractEcmascriptNode<org.mozilla.javascript.ast.VariableDeclaration>
node
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTVariableDeclaration(org.mozilla.javascript.ast.VariableDeclaration variableDeclaration) |
Modifier and Type | Method and Description |
---|---|
ASTVariableInitializer |
getVariableInitializer(int index) |
boolean |
isConst() |
boolean |
isLet() |
boolean |
isVar() |
Object |
jjtAccept(EcmascriptParserVisitor visitor,
Object data)
Accept the visitor.
|
childrenAccept, getJsDoc, getNode, hasSideEffects, 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, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine
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, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
public ASTVariableDeclaration(org.mozilla.javascript.ast.VariableDeclaration variableDeclaration)
public Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.VariableDeclaration>
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.VariableDeclaration>
public ASTVariableInitializer getVariableInitializer(int index)
public boolean isVar()
public boolean isLet()
public boolean isConst()
Copyright © 2002–2017 PMD. All rights reserved.