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