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 voidaccept(VisitorCheck visitor)SeparatedListImpl<ExpressionTree>arguments()Deprecated.since 3.11 .SeparatedList<CallArgumentTree>callArguments()ExpressionTreecallee()Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokencloseParenthesisToken()Nullable in case of internal function call with no parenthesisFunctionCallTreeImplcomplete(ExpressionTree callee)Tree.KindgetKind()SyntaxTokenopenParenthesisToken()Nullable in case of internal function call with no parenthesisvoidsetSymbol(FunctionSymbol symbol)FunctionSymbolsymbol()-
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:
calleein interfaceFunctionCallTree
-
openParenthesisToken
@Nullable public SyntaxToken openParenthesisToken()
Description copied from interface:FunctionCallTreeNullable in case of internal function call with no parenthesis- Specified by:
openParenthesisTokenin interfaceFunctionCallTree
-
arguments
@Deprecated public SeparatedListImpl<ExpressionTree> arguments()
Deprecated.since 3.11 . UsecallArguments()instead.- Specified by:
argumentsin interfaceFunctionCallTree
-
callArguments
public SeparatedList<CallArgumentTree> callArguments()
- Specified by:
callArgumentsin interfaceFunctionCallTree
-
closeParenthesisToken
@Nullable public SyntaxToken closeParenthesisToken()
Description copied from interface:FunctionCallTreeNullable in case of internal function call with no parenthesis- Specified by:
closeParenthesisTokenin interfaceFunctionCallTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
symbol
public FunctionSymbol symbol()
-
setSymbol
public void setSymbol(FunctionSymbol symbol)
-
-