public class ASTName extends AbstractEcmascriptNode<org.mozilla.javascript.ast.Name>
nodebeginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
ASTName(org.mozilla.javascript.ast.Name name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier() |
boolean |
isFunctionCallName()
Returns whether this name node is the name of a function call.
|
boolean |
isFunctionNodeName()
Returns whether this name node is the name of a function declaration.
|
boolean |
isFunctionNodeParameter()
Returns whether this name node is the name of a function declaration parameter.
|
boolean |
isGlobalName() |
boolean |
isLocalName() |
boolean |
isVariableDeclaration()
Returns whether this name node is the name of a variable declaration.
|
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 Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
jjtAccept in interface EcmascriptNode<org.mozilla.javascript.ast.Name>jjtAccept in class AbstractEcmascriptNode<org.mozilla.javascript.ast.Name>public String getIdentifier()
public boolean isLocalName()
public boolean isGlobalName()
public boolean isFunctionNodeName()
true if name of a function declaration,
false otherwise.public boolean isFunctionNodeParameter()
true if name of a function declaration parameter,
false otherwise.public boolean isFunctionCallName()
true if name of a function call,
false otherwise.public boolean isVariableDeclaration()
true if name of a variable declaration,
false otherwise.Copyright © 2002-2014 InfoEther. All Rights Reserved.