Class ArrowFunctionExpressionTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.ArrowFunctionExpressionTreeImpl
- All Implemented Interfaces:
FunctionTree
,HasAttributes
,ArrowFunctionExpressionTree
,ExpressionTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionArrowFunctionExpressionTreeImpl
(List<AttributeGroupTree> attributeGroups, InternalSyntaxToken staticToken, InternalSyntaxToken fnToken, InternalSyntaxToken referenceToken, ParameterListTree parameters, ReturnTypeClauseTree returnTypeClause, InternalSyntaxToken doubleArrowToken, ExpressionTree 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
-
ArrowFunctionExpressionTreeImpl
public ArrowFunctionExpressionTreeImpl(List<AttributeGroupTree> attributeGroups, @Nullable InternalSyntaxToken staticToken, InternalSyntaxToken fnToken, @Nullable InternalSyntaxToken referenceToken, ParameterListTree parameters, @Nullable ReturnTypeClauseTree returnTypeClause, InternalSyntaxToken doubleArrowToken, ExpressionTree body)
-
-
Method Details
-
staticToken
- Specified by:
staticToken
in interfaceArrowFunctionExpressionTree
-
referenceToken
- Specified by:
referenceToken
in interfaceArrowFunctionExpressionTree
- Specified by:
referenceToken
in interfaceFunctionTree
-
attributeGroups
- Specified by:
attributeGroups
in interfaceHasAttributes
-
functionToken
- Specified by:
functionToken
in interfaceArrowFunctionExpressionTree
- Specified by:
functionToken
in interfaceFunctionTree
-
returnTypeClause
- Specified by:
returnTypeClause
in interfaceArrowFunctionExpressionTree
- Specified by:
returnTypeClause
in interfaceFunctionTree
-
parameters
- Specified by:
parameters
in interfaceArrowFunctionExpressionTree
- Specified by:
parameters
in interfaceFunctionTree
-
doubleArrowToken
- Specified by:
doubleArrowToken
in interfaceArrowFunctionExpressionTree
-
body
- Specified by:
body
in interfaceArrowFunctionExpressionTree
- 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
-