public class ArrowFunctionTreeImpl extends JavaScriptTree implements ArrowFunctionTree, TypableTree
| Constructor and Description |
|---|
ArrowFunctionTreeImpl(SyntaxToken asyncToken,
Tree parameters,
InternalSyntaxToken doubleArrow,
Tree body) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
SyntaxToken |
asyncToken() |
Tree |
body()
Either
BlockTree or ExpressionTree |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
doubleArrow() |
Tree.Kind |
getKind() |
Tree |
parameterClause()
|
List<IdentifierTree> |
parameterIdentifiers() |
List<Tree> |
parameterList() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic ArrowFunctionTreeImpl(@Nullable SyntaxToken asyncToken, Tree parameters, InternalSyntaxToken doubleArrow, Tree body)
@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic Tree parameterClause()
ArrowFunctionTreeparameterClause in interface FunctionTreeparameterClause in interface ArrowFunctionTreepublic SyntaxToken doubleArrow()
doubleArrow in interface ArrowFunctionTreepublic Tree body()
ArrowFunctionTreeBlockTree or ExpressionTreebody in interface FunctionTreebody in interface ArrowFunctionTreepublic List<Tree> parameterList()
parameterList in interface FunctionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public List<IdentifierTree> parameterIdentifiers()
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreeCopyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.