net.sourceforge.pmd.lang.ast.Node
, EcmascriptNode<org.mozilla.javascript.ast.NewExpression>
public class ASTNewExpression extends AbstractEcmascriptNode<org.mozilla.javascript.ast.NewExpression>
node
Constructor | Description |
---|---|
ASTNewExpression(org.mozilla.javascript.ast.NewExpression newExpression) |
Modifier and Type | Method | Description |
---|---|---|
EcmascriptNode<?> |
getArgument(int index) |
|
ASTObjectLiteral |
getInitializer() |
|
int |
getNumArguments() |
|
EcmascriptNode<?> |
getTarget() |
|
boolean |
hasArguments() |
|
boolean |
hasInitializer() |
|
java.lang.Object |
jjtAccept(EcmascriptParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
childrenAccept, getJsDoc, getNode, getXPathNodeName, hasSideEffects
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, 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, toString
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
public ASTNewExpression(org.mozilla.javascript.ast.NewExpression newExpression)
public java.lang.Object jjtAccept(EcmascriptParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.NewExpression>
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.NewExpression>
public EcmascriptNode<?> getTarget()
public int getNumArguments()
public EcmascriptNode<?> getArgument(int index)
public boolean hasArguments()
public boolean hasInitializer()
public ASTObjectLiteral getInitializer()
Copyright © 2002–2018 PMD. All rights reserved.