Class FunctionCallTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.FunctionCallTreeImpl
- All Implemented Interfaces:
ExpressionTree
,FunctionCallTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionCallTreeImpl
(InternalSyntaxToken openParenthesisToken, SeparatedListImpl<CallArgumentTree> callArguments, InternalSyntaxToken closeParenthesisToken) FunctionCallTreeImpl
(ExpressionTree callee, InternalSyntaxToken openParenthesisToken, SeparatedListImpl<CallArgumentTree> callArguments, InternalSyntaxToken closeParenthesisToken) FunctionCallTreeImpl
(ExpressionTree callee, SeparatedListImpl<CallArgumentTree> callArguments) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Deprecated.since 3.11 .callee()
Creates iterator for children of this node.Nullable in case of internal function call with no parenthesiscomplete
(ExpressionTree callee) getKind()
Nullable in case of internal function call with no parenthesisvoid
setSymbol
(FunctionSymbol symbol) symbol()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
FunctionCallTreeImpl
public FunctionCallTreeImpl(ExpressionTree callee, InternalSyntaxToken openParenthesisToken, SeparatedListImpl<CallArgumentTree> callArguments, InternalSyntaxToken closeParenthesisToken) -
FunctionCallTreeImpl
public FunctionCallTreeImpl(ExpressionTree callee, SeparatedListImpl<CallArgumentTree> callArguments) -
FunctionCallTreeImpl
public FunctionCallTreeImpl(InternalSyntaxToken openParenthesisToken, SeparatedListImpl<CallArgumentTree> callArguments, InternalSyntaxToken closeParenthesisToken)
-
-
Method Details
-
complete
-
callee
- Specified by:
callee
in interfaceFunctionCallTree
-
openParenthesisToken
Description copied from interface:FunctionCallTree
Nullable in case of internal function call with no parenthesis- Specified by:
openParenthesisToken
in interfaceFunctionCallTree
-
arguments
Deprecated.since 3.11 . UsecallArguments()
instead.- Specified by:
arguments
in interfaceFunctionCallTree
-
callArguments
- Specified by:
callArguments
in interfaceFunctionCallTree
-
closeParenthesisToken
Description copied from interface:FunctionCallTree
Nullable in case of internal function call with no parenthesis- Specified by:
closeParenthesisToken
in interfaceFunctionCallTree
-
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
-
symbol
-
setSymbol
-