public final class WhenClause<T extends GoloElement> extends GoloElement
Modifier and Type | Method and Description |
---|---|
void |
accept(GoloIrVisitor visitor) |
T |
action() |
ExpressionStatement |
condition() |
protected void |
replaceElement(GoloElement original,
GoloElement newElement) |
void |
setAction(T a) |
java.lang.String |
toString() |
void |
walk(GoloIrVisitor visitor) |
cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, ofAST, replaceInParentBy, setASTNode, setParentNode
public ExpressionStatement condition()
public T action()
public void setAction(T a)
public java.lang.String toString()
toString
in class java.lang.Object
protected void replaceElement(GoloElement original, GoloElement newElement)
replaceElement
in class GoloElement
public void accept(GoloIrVisitor visitor)
accept
in class GoloElement
public void walk(GoloIrVisitor visitor)
walk
in class GoloElement