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
ConstructorsConstructorDescriptionFunctionExpressionTreeImpl(List<AttributeGroupTree> attributeGroups, InternalSyntaxToken staticToken, InternalSyntaxToken functionToken, InternalSyntaxToken referenceToken, ParameterListTree parameters, LexicalVariablesTree lexicalVars, ReturnTypeClauseTree returnTypeClause, BlockTree 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
-
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:
staticTokenin interfaceFunctionExpressionTree
-
attributeGroups
- Specified by:
attributeGroupsin interfaceHasAttributes
-
functionToken
- Specified by:
functionTokenin interfaceFunctionExpressionTree- Specified by:
functionTokenin interfaceFunctionTree
-
referenceToken
- Specified by:
referenceTokenin interfaceFunctionExpressionTree- Specified by:
referenceTokenin interfaceFunctionTree
-
parameters
- Specified by:
parametersin interfaceFunctionExpressionTree- Specified by:
parametersin interfaceFunctionTree
-
returnTypeClause
- Specified by:
returnTypeClausein interfaceFunctionExpressionTree- Specified by:
returnTypeClausein interfaceFunctionTree
-
lexicalVars
- Specified by:
lexicalVarsin interfaceFunctionExpressionTree
-
body
- Specified by:
bodyin interfaceFunctionExpressionTree- 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
-