Interface FunctionTree
-
- All Superinterfaces:
Tree
- All Known Subinterfaces:
AccessorMethodDeclarationTree,ArrowFunctionTree,FunctionDeclarationTree,FunctionExpressionTree,MethodDeclarationTree
- All Known Implementing Classes:
AccessorMethodDeclarationTreeImpl,ArrowFunctionTreeImpl,FunctionDeclarationTreeImpl,FunctionExpressionTreeImpl,FunctionTreeImpl,MethodDeclarationTreeImpl
public interface FunctionTree extends Tree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxTokenasyncToken()Treebody()FlowGenericParameterClauseTreegenericParameterClause()Treename()TreeparameterClause()List<BindingElementTree>parameterList()FlowTypeAnnotationTreereturnType()Scopescope()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
asyncToken
@Nullable SyntaxToken asyncToken()
-
genericParameterClause
@Nullable FlowGenericParameterClauseTree genericParameterClause()
-
parameterClause
Tree parameterClause()
-
returnType
@Nullable FlowTypeAnnotationTree returnType()
-
body
Tree body()
-
parameterList
List<BindingElementTree> parameterList()
-
scope
Scope scope()
-
-