Interface FunctionDeclarationTree
-
- All Superinterfaces:
FunctionTree
,HasAttributes
,StatementTree
,Tree
- All Known Implementing Classes:
FunctionDeclarationTreeImpl
public interface FunctionDeclarationTree extends FunctionTree, StatementTree
function
name()
parameters()
body()
function &name()
parameters()
body()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockTree
body()
SyntaxToken
functionToken()
NameIdentifierTree
name()
ParameterListTree
parameters()
SyntaxToken
referenceToken()
ReturnTypeClauseTree
returnTypeClause()
-
Methods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
-
-
-
Method Detail
-
functionToken
SyntaxToken functionToken()
- Specified by:
functionToken
in interfaceFunctionTree
-
referenceToken
@Nullable SyntaxToken referenceToken()
- Specified by:
referenceToken
in interfaceFunctionTree
-
name
NameIdentifierTree name()
-
parameters
ParameterListTree parameters()
- Specified by:
parameters
in interfaceFunctionTree
-
returnTypeClause
@Nullable ReturnTypeClauseTree returnTypeClause()
- Specified by:
returnTypeClause
in interfaceFunctionTree
-
body
BlockTree body()
- Specified by:
body
in interfaceFunctionTree
-
-