public class ClosureReference extends ExpressionStatement
Modifier and Type | Method and Description |
---|---|
void |
accept(GoloIrVisitor visitor) |
ClosureReference |
block(java.lang.Object... statements) |
java.util.Set<java.lang.String> |
getCapturedReferenceNames() |
GoloFunction |
getTarget() |
protected void |
replaceElement(GoloElement original,
GoloElement newElement) |
ClosureReference |
returns(java.lang.Object expression) |
void |
updateCapturedReferenceNames() |
void |
walk(GoloIrVisitor visitor) |
of
cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, ofAST, replaceInParentBy, setASTNode, setParentNode
public GoloFunction getTarget()
public java.util.Set<java.lang.String> getCapturedReferenceNames()
public void updateCapturedReferenceNames()
public ClosureReference block(java.lang.Object... statements)
public ClosureReference returns(java.lang.Object expression)
public void accept(GoloIrVisitor visitor)
accept
in class GoloElement
public void walk(GoloIrVisitor visitor)
walk
in class GoloElement
protected void replaceElement(GoloElement original, GoloElement newElement)
replaceElement
in class GoloElement