public class ArrayLiteralTreeImpl extends JavaScriptTree implements ArrayLiteralTree, TypableTree
| Constructor and Description |
|---|
ArrayLiteralTreeImpl(SyntaxToken openBracket,
List<Tree> elementsAndCommas,
SyntaxToken closeBracket) |
| 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 |
closeBracketToken() |
List<ExpressionTree> |
elements() |
List<Tree> |
elementsAndCommas() |
Tree.Kind |
getKind() |
SyntaxToken |
openBracketToken() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
childrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentpublic ArrayLiteralTreeImpl(SyntaxToken openBracket, List<Tree> elementsAndCommas, SyntaxToken closeBracket)
public SyntaxToken openBracketToken()
openBracketToken in interface ArrayLiteralTreepublic List<ExpressionTree> elements()
elements in interface ArrayLiteralTreepublic List<Tree> elementsAndCommas()
elementsAndCommas in interface ArrayLiteralTreepublic SyntaxToken closeBracketToken()
closeBracketToken in interface ArrayLiteralTreepublic 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–2017 SonarSource and Eriks Nukis. All rights reserved.