public final class Decorator extends GoloElement
Modifier and Type | Method and Description |
---|---|
void |
accept(GoloIrVisitor visitor) |
Decorator |
constant() |
Decorator |
constant(boolean constant) |
ExpressionStatement |
getExpressionStatement() |
boolean |
isConstant() |
protected void |
replaceElement(GoloElement original,
GoloElement newElement) |
void |
setConstant(boolean constant) |
void |
setExpressionStatement(ExpressionStatement expr) |
void |
walk(GoloIrVisitor visitor) |
ExpressionStatement |
wrapExpression(ExpressionStatement expression) |
cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, ofAST, replaceInParentBy, setASTNode, setParentNode
public ExpressionStatement getExpressionStatement()
public void setExpressionStatement(ExpressionStatement expr)
public boolean isConstant()
public void setConstant(boolean constant)
public Decorator constant(boolean constant)
public Decorator constant()
public ExpressionStatement wrapExpression(ExpressionStatement 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