public class NewExpressionTreeImpl extends JavaScriptTree implements NewExpressionTree, TypableTree
| Constructor and Description |
|---|
NewExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken newKeyword,
ExpressionTree expression) |
NewExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken newKeyword,
ExpressionTree expression,
ParameterListTreeImpl arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
ParameterListTree |
arguments() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
ExpressionTree |
expression() |
Tree.Kind |
getKind() |
SyntaxToken |
newKeyword() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic NewExpressionTreeImpl(Tree.Kind kind, InternalSyntaxToken newKeyword, ExpressionTree expression)
public NewExpressionTreeImpl(Tree.Kind kind, InternalSyntaxToken newKeyword, ExpressionTree expression, ParameterListTreeImpl arguments)
public SyntaxToken newKeyword()
newKeyword in interface NewExpressionTreepublic ExpressionTree expression()
expression in interface NewExpressionTree@Nullable public ParameterListTree arguments()
arguments in interface NewExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreeCopyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.