Interface IdentifierTree
- All Superinterfaces:
ExpressionTree, Tree
A tree node for an identifier expression.
For example:
name
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this identifier.booleanIs this "default" used in module export entry?booleanIs this a rest parameter for a function or rest elements of an array?booleanisStar()Is this "*" used in module export entry?booleanIs this "*default*" used in module export entry?booleanisSuper()Is this super identifier?booleanisThis()Is this 'this' identifier?Methods inherited from interface Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getName
-
isRestParameter
boolean isRestParameter()Is this a rest parameter for a function or rest elements of an array?- Returns:
- true if this is a rest parameter
-
isSuper
boolean isSuper()Is this super identifier?- Returns:
- true if this is super identifier
-
isThis
boolean isThis()Is this 'this' identifier?- Returns:
- true if this is 'this' identifier
-
isStar
boolean isStar()Is this "*" used in module export entry?- Returns:
- true if this "*" used in module export entry?
-
isDefault
boolean isDefault()Is this "default" used in module export entry?- Returns:
- true if this 'default' used in module export entry?
-
isStarDefaultStar
boolean isStarDefaultStar()Is this "*default*" used in module export entry?- Returns:
- true if this '*default*' used in module export entry?
-