public class FunctionInvocation extends AbstractInvocation
usesNamedArguments
Modifier and Type | Method and Description |
---|---|
void |
accept(GoloIrVisitor visitor)
Accept the visitor.
|
FunctionInvocation |
constant() |
FunctionInvocation |
constant(boolean isConstant) |
boolean |
isAnonymous() |
boolean |
isConstant() |
boolean |
isOnModuleState() |
boolean |
isOnReference() |
FunctionInvocation |
ofAST(GoloASTNode n) |
FunctionInvocation |
onModuleState() |
FunctionInvocation |
onModuleState(boolean isOnModuleState) |
FunctionInvocation |
onReference() |
FunctionInvocation |
onReference(boolean isOnReference) |
java.lang.String |
toString() |
FunctionInvocation |
withArgs(java.lang.Object... arguments) |
getArguments, getArity, getName, namedArgumentsComplete, replaceElement, usesNamedArguments, walk, withNamedArguments
of
cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, replaceInParentBy, setASTNode, setParentNode
public FunctionInvocation ofAST(GoloASTNode n)
ofAST
in class GoloElement
public FunctionInvocation onReference(boolean isOnReference)
public FunctionInvocation onReference()
public boolean isOnReference()
public boolean isAnonymous()
public FunctionInvocation onModuleState(boolean isOnModuleState)
public FunctionInvocation onModuleState()
public boolean isOnModuleState()
public FunctionInvocation constant(boolean isConstant)
public FunctionInvocation constant()
public boolean isConstant()
public FunctionInvocation withArgs(java.lang.Object... arguments)
withArgs
in class AbstractInvocation
public java.lang.String toString()
toString
in class java.lang.Object
public void accept(GoloIrVisitor visitor)
GoloElement
This method should only call the visitor visitXXXX
method.
The children of this node will be visited by the
GoloElement.walk(GoloIrVisitor)
method.
accept
in class GoloElement