Interface FunctionExpressionTree
-
- All Superinterfaces:
ExpressionTree,FunctionTree,JsxElementNameTree,Tree
- All Known Implementing Classes:
FunctionExpressionTreeImpl
@Beta public interface FunctionExpressionTree extends ExpressionTree, FunctionTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockTreebody()SyntaxTokenfunctionKeyword()IdentifierTreename()ParameterListTreeparameterClause()FlowTypeAnnotationTreereturnType()SyntaxTokenstarToken()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.expression.ExpressionTree
types
-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.declaration.FunctionTree
asyncToken, genericParameterClause, parameterList, scope
-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
functionKeyword
SyntaxToken functionKeyword()
-
starToken
@Nullable SyntaxToken starToken()
-
name
@Nullable IdentifierTree name()
- Specified by:
namein interfaceFunctionTree
-
parameterClause
ParameterListTree parameterClause()
- Specified by:
parameterClausein interfaceFunctionTree
-
returnType
@Nullable FlowTypeAnnotationTree returnType()
- Specified by:
returnTypein interfaceFunctionTree
-
body
BlockTree body()
- Specified by:
bodyin interfaceFunctionTree
-
-