Class FunctionExpressionTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.FunctionExpressionTreeImpl
- All Implemented Interfaces:
FunctionTree
,HasAttributes
,ExpressionTree
,FunctionExpressionTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionFunctionExpressionTreeImpl
(List<AttributeGroupTree> attributeGroups, InternalSyntaxToken staticToken, InternalSyntaxToken functionToken, InternalSyntaxToken referenceToken, ParameterListTree parameters, LexicalVariablesTree lexicalVars, ReturnTypeClauseTree returnTypeClause, BlockTree body) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) body()
Creates iterator for children of this node.getKind()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
FunctionExpressionTreeImpl
public FunctionExpressionTreeImpl(List<AttributeGroupTree> attributeGroups, @Nullable InternalSyntaxToken staticToken, InternalSyntaxToken functionToken, @Nullable InternalSyntaxToken referenceToken, ParameterListTree parameters, @Nullable LexicalVariablesTree lexicalVars, @Nullable ReturnTypeClauseTree returnTypeClause, BlockTree body)
-
-
Method Details
-
staticToken
- Specified by:
staticToken
in interfaceFunctionExpressionTree
-
attributeGroups
- Specified by:
attributeGroups
in interfaceHasAttributes
-
functionToken
- Specified by:
functionToken
in interfaceFunctionExpressionTree
- Specified by:
functionToken
in interfaceFunctionTree
-
referenceToken
- Specified by:
referenceToken
in interfaceFunctionExpressionTree
- Specified by:
referenceToken
in interfaceFunctionTree
-
parameters
- Specified by:
parameters
in interfaceFunctionExpressionTree
- Specified by:
parameters
in interfaceFunctionTree
-
returnTypeClause
- Specified by:
returnTypeClause
in interfaceFunctionExpressionTree
- Specified by:
returnTypeClause
in interfaceFunctionTree
-
lexicalVars
- Specified by:
lexicalVars
in interfaceFunctionExpressionTree
-
body
- Specified by:
body
in interfaceFunctionExpressionTree
- Specified by:
body
in interfaceFunctionTree
-
getKind
-
childrenIterator
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
accept
-