@Beta public interface ArrowFunctionTree extends ExpressionTree, FunctionTree
parameterClause()=>body()
This interface is not intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
Tree |
body()
Either
BlockTree or ExpressionTree |
SyntaxToken |
doubleArrowToken() |
Tree |
parameterClause()
|
FlowTypeAnnotationTree |
returnType() |
typesaccept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentasyncToken, genericParameterClause, name, parameterList, scopeTree parameterClause()
parameterClause in interface FunctionTree@Nullable FlowTypeAnnotationTree returnType()
returnType in interface FunctionTreeSyntaxToken doubleArrowToken()
Tree body()
BlockTree or ExpressionTreebody in interface FunctionTreeCopyright © 2011–2018 SonarSource and Eriks Nukis. All rights reserved.