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 Treebody()SyntaxTokenfunctionToken()ParameterListTreeparameters()SyntaxTokenreferenceToken()ReturnTypeClauseTreereturnTypeClause()-
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()
-
-