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 TypeMethodDescriptionvoidaccept(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:
staticTokenin interfaceArrowFunctionExpressionTree
-
referenceToken
- Specified by:
referenceTokenin interfaceArrowFunctionExpressionTree- Specified by:
referenceTokenin interfaceFunctionTree
-
attributeGroups
- Specified by:
attributeGroupsin interfaceHasAttributes
-
functionToken
- Specified by:
functionTokenin interfaceArrowFunctionExpressionTree- Specified by:
functionTokenin interfaceFunctionTree
-
returnTypeClause
- Specified by:
returnTypeClausein interfaceArrowFunctionExpressionTree- Specified by:
returnTypeClausein interfaceFunctionTree
-
parameters
- Specified by:
parametersin interfaceArrowFunctionExpressionTree- Specified by:
parametersin interfaceFunctionTree
-
doubleArrowToken
- Specified by:
doubleArrowTokenin interfaceArrowFunctionExpressionTree
-
body
- Specified by:
bodyin interfaceArrowFunctionExpressionTree- Specified by:
bodyin interfaceFunctionTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-