public abstract class AbstractInvocation extends ExpressionStatement
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
usesNamedArguments |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ExpressionStatement> |
getArguments() |
int |
getArity() |
java.lang.String |
getName() |
boolean |
namedArgumentsComplete() |
protected void |
replaceElement(GoloElement original,
GoloElement newElement)
Replace a child.
|
boolean |
usesNamedArguments() |
void |
walk(GoloIrVisitor visitor)
Walk the visitor through this node children.
|
AbstractInvocation |
withArgs(java.lang.Object... arguments) |
AbstractInvocation |
withNamedArguments() |
ofaccept, cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, ofAST, replaceInParentBy, setASTNode, setParentNodeprotected boolean usesNamedArguments
public java.lang.String getName()
public AbstractInvocation withArgs(java.lang.Object... arguments)
public java.util.List<ExpressionStatement> getArguments()
public int getArity()
public boolean usesNamedArguments()
public boolean namedArgumentsComplete()
public AbstractInvocation withNamedArguments()
public void walk(GoloIrVisitor visitor)
GoloElementwalk in class GoloElementprotected void replaceElement(GoloElement original, GoloElement newElement)
GoloElement
Replace original with newElement if original is a child of this node
and type matches.
replaceElement in class GoloElementoriginal - the original value to replace. Must be a child of this nodenewElement - the element to replace with. Type must match.GoloElement.cantReplace(),
GoloElement.cantReplace(GoloElement, GoloElement),
GoloElement.doesNotContain(GoloElement),
GoloElement.cantConvert(String, Object)