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 BlockTreebody()SyntaxTokenfunctionToken()NameIdentifierTreename()ParameterListTreeparameters()SyntaxTokenreferenceToken()ReturnTypeClauseTreereturnTypeClause()-
Methods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
-
-
-
Method Detail
-
functionToken
SyntaxToken functionToken()
- Specified by:
functionTokenin interfaceFunctionTree
-
referenceToken
@Nullable SyntaxToken referenceToken()
- Specified by:
referenceTokenin interfaceFunctionTree
-
name
NameIdentifierTree name()
-
parameters
ParameterListTree parameters()
- Specified by:
parametersin interfaceFunctionTree
-
returnTypeClause
@Nullable ReturnTypeClauseTree returnTypeClause()
- Specified by:
returnTypeClausein interfaceFunctionTree
-
body
BlockTree body()
- Specified by:
bodyin interfaceFunctionTree
-
-