public class ObjectLiteralTreeImpl extends JavaScriptTree implements ObjectLiteralTree, TypableTree
| Constructor and Description |
|---|
ObjectLiteralTreeImpl(InternalSyntaxToken openCurlyBrace,
InternalSyntaxToken closeCurlyBrace) |
ObjectLiteralTreeImpl(SeparatedList<Tree> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
closeCurlyBrace() |
ObjectLiteralTreeImpl |
complete(InternalSyntaxToken openCurlyBrace,
InternalSyntaxToken closeCurlyBrace) |
Tree.Kind |
getKind() |
SyntaxToken |
openCurlyBrace() |
SeparatedList<Tree> |
properties() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic ObjectLiteralTreeImpl(InternalSyntaxToken openCurlyBrace, InternalSyntaxToken closeCurlyBrace)
public ObjectLiteralTreeImpl(SeparatedList<Tree> properties)
public ObjectLiteralTreeImpl complete(InternalSyntaxToken openCurlyBrace, InternalSyntaxToken closeCurlyBrace)
public SyntaxToken openCurlyBrace()
openCurlyBrace in interface ObjectLiteralTreepublic SeparatedList<Tree> properties()
properties in interface ObjectLiteralTreepublic SyntaxToken closeCurlyBrace()
closeCurlyBrace in interface ObjectLiteralTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.