Interface FunctionTree
-
- All Superinterfaces:
HasAttributes
,Tree
- All Known Subinterfaces:
ArrowFunctionExpressionTree
,FunctionDeclarationTree
,FunctionExpressionTree
,MethodDeclarationTree
- All Known Implementing Classes:
ArrowFunctionExpressionTreeImpl
,FunctionDeclarationTreeImpl
,FunctionExpressionTreeImpl
,MethodDeclarationTreeImpl
public interface FunctionTree extends Tree, HasAttributes
Common interface for all kinds of function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tree
body()
SyntaxToken
functionToken()
ParameterListTree
parameters()
SyntaxToken
referenceToken()
ReturnTypeClauseTree
returnTypeClause()
-
Methods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
-
-
-
Method Detail
-
functionToken
SyntaxToken functionToken()
-
referenceToken
@Nullable SyntaxToken referenceToken()
-
parameters
ParameterListTree parameters()
-
returnTypeClause
@Nullable ReturnTypeClauseTree returnTypeClause()
-
body
Tree body()
-
-