public class IdentifierTreeImpl extends JavaScriptTree implements IdentifierTree
| Constructor and Description |
|---|
IdentifierTreeImpl(Tree.Kind kind,
InternalSyntaxToken nameToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
void |
addType(Type type) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree.Kind |
getKind() |
SyntaxToken |
identifierToken() |
String |
name() |
void |
setSymbol(Symbol symbol) |
Symbol |
symbol() |
String |
toString() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
getFirstToken, getLastToken, getLine, is, isLeafpublic IdentifierTreeImpl(Tree.Kind kind, InternalSyntaxToken nameToken)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic SyntaxToken identifierToken()
identifierToken in interface IdentifierTreepublic String name()
name in interface IdentifierTreepublic Symbol symbol()
symbol in interface IdentifierTreepublic void setSymbol(Symbol symbol)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void addType(Type type)
public Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.