Class ASTFunctionCall
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<org.mozilla.javascript.ast.FunctionCall>
-
- net.sourceforge.pmd.lang.ecmascript.ast.ASTFunctionCall
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.Node
,EcmascriptNode<org.mozilla.javascript.ast.FunctionCall>
public class ASTFunctionCall extends AbstractEcmascriptNode<org.mozilla.javascript.ast.FunctionCall>
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode
node
-
-
Constructor Summary
Constructors Constructor Description ASTFunctionCall(org.mozilla.javascript.ast.FunctionCall functionCall)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EcmascriptNode<?>
getArgument(int index)
int
getNumArguments()
EcmascriptNode<?>
getTarget()
boolean
hasArguments()
Object
jjtAccept(EcmascriptParserVisitor visitor, Object data)
Accept the visitor.-
Methods inherited from class net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode
childrenAccept, getJsDoc, getNode, getXPathNodeName, hasSideEffects
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, children, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getChild, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParent, getParentsOfType, getUserData, getXPathAttributesIterator, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
children, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getChild, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Method Detail
-
jjtAccept
public Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
Accept the visitor.- Specified by:
jjtAccept
in interfaceEcmascriptNode<org.mozilla.javascript.ast.FunctionCall>
- Overrides:
jjtAccept
in classAbstractEcmascriptNode<org.mozilla.javascript.ast.FunctionCall>
-
getTarget
public EcmascriptNode<?> getTarget()
-
getNumArguments
public int getNumArguments()
-
getArgument
public EcmascriptNode<?> getArgument(int index)
-
hasArguments
public boolean hasArguments()
-
-