public class ArrowFunctionTreeImpl extends FunctionTreeImpl 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 |
doubleArrowToken() |
Tree.Kind |
getKind() |
Tree |
name() |
Tree |
parameterClause()
|
List<IdentifierTree> |
parameterIdentifiers() |
List<BindingElementTree> |
parameterList() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
outerScopeSymbolUsages, scope, scopechildrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentscopepublic ArrowFunctionTreeImpl(@Nullable SyntaxToken asyncToken, Tree parameters, InternalSyntaxToken doubleArrow, Tree body)
@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTree@Nullable public Tree name()
name in interface FunctionTreepublic Tree parameterClause()
ArrowFunctionTreeparameterClause in interface FunctionTreeparameterClause in interface ArrowFunctionTreepublic SyntaxToken doubleArrowToken()
doubleArrowToken in interface ArrowFunctionTreepublic Tree body()
ArrowFunctionTreeBlockTree or ExpressionTreebody in interface FunctionTreebody in interface ArrowFunctionTreepublic List<BindingElementTree> 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–2017 SonarSource and Eriks Nukis. All rights reserved.