public interface IIdentifierNode extends IExpressionNode
Identifiers may be short (such as width
,
int
, or public
), dotted
(such as flash.display.Sprite
), or parameterized
(such as Vector.<Event>
).
Identifiers serve two purposes: in a declaration of a class, interface, function, variable, constant, or namespace they provide the name of the thing being defined; otherwise they provide a reference to that definition.
In some cases, such as for packages and language identifiers, the declaration is implicit rather than existing in source code or in byte code.
Modifier and Type | Interface and Description |
---|---|
static class |
IIdentifierNode.IdentifierType
Represents different types of identifiers
|
UNKNOWN
Modifier and Type | Method and Description |
---|---|
IIdentifierNode.IdentifierType |
getIdentifierType()
Returns of the type of this identifier.
|
String |
getName()
Gets the full name of this identifier
|
copyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveType
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
String getName()
IIdentifierNode.IdentifierType getIdentifierType()
IIdentifierNode.IdentifierType
Copyright © 2016 The Apache Software Foundation. All rights reserved.