public class LiteralTreeImpl extends JavaScriptTree implements LiteralTree
| Constructor and Description |
|---|
LiteralTreeImpl(Tree.Kind kind,
SyntaxToken token) |
| 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 |
token() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
String |
value() |
getFirstToken, getLastToken, getLine, is, isLeafpublic LiteralTreeImpl(Tree.Kind kind, SyntaxToken token)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic String value()
value in interface LiteralTreepublic TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void addType(Type type)
public SyntaxToken token()
public Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.