Interface MethodDeclarationTree
-
- All Superinterfaces:
ClassMemberTree
,FunctionTree
,HasAttributes
,Tree
- All Known Implementing Classes:
MethodDeclarationTreeImpl
public interface MethodDeclarationTree extends ClassMemberTree, FunctionTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tree
body()
SyntaxToken
functionToken()
List<SyntaxToken>
modifiers()
NameIdentifierTree
name()
ParameterListTree
parameters()
SyntaxToken
referenceToken()
ReturnTypeClauseTree
returnTypeClause()
-
Methods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
-
-
-
Method Detail
-
modifiers
List<SyntaxToken> modifiers()
-
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
Tree body()
- Specified by:
body
in interfaceFunctionTree
-
-