public class ASTFunctionNode extends AbstractEcmascriptNode<org.mozilla.javascript.ast.FunctionNode>
nodebeginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
ASTFunctionNode(org.mozilla.javascript.ast.FunctionNode functionNode) |
| Modifier and Type | Method and Description |
|---|---|
EcmascriptNode |
getBody() |
EcmascriptNode |
getBody(int index)
Deprecated.
|
ASTName |
getFunctionName() |
int |
getNumParams() |
EcmascriptNode |
getParam(int index) |
boolean |
isClosure() |
boolean |
isGetter() |
boolean |
isGetterOrSetter() |
boolean |
isSetter() |
Object |
jjtAccept(EcmascriptParserVisitor visitor,
Object data)
Accept the visitor.
|
childrenAccept, getJsDoc, getNode, hasSideEffects, toStringappendElement, 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, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setDataFlowNode, setImage, setUserDatapublic ASTFunctionNode(org.mozilla.javascript.ast.FunctionNode functionNode)
public Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
jjtAccept in interface EcmascriptNode<org.mozilla.javascript.ast.FunctionNode>jjtAccept in class AbstractEcmascriptNode<org.mozilla.javascript.ast.FunctionNode>public int getNumParams()
public ASTName getFunctionName()
public EcmascriptNode getParam(int index)
public EcmascriptNode getBody()
@Deprecated public EcmascriptNode getBody(int index)
public boolean isClosure()
public boolean isGetter()
public boolean isSetter()
public boolean isGetterOrSetter()
Copyright © 2002-2014 InfoEther. All Rights Reserved.