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 TypeMethodDescriptionvoidaccept(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 parenthesisvoidsetSymbol(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:
calleein interfaceFunctionCallTree
-
openParenthesisToken
Description copied from interface:FunctionCallTreeNullable in case of internal function call with no parenthesis- Specified by:
openParenthesisTokenin interfaceFunctionCallTree
-
arguments
Deprecated.since 3.11 . UsecallArguments()instead.- Specified by:
argumentsin interfaceFunctionCallTree
-
callArguments
- Specified by:
callArgumentsin interfaceFunctionCallTree
-
closeParenthesisToken
Description copied from interface:FunctionCallTreeNullable in case of internal function call with no parenthesis- Specified by:
closeParenthesisTokenin interfaceFunctionCallTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-
symbol
-
setSymbol
-