public interface AssignSentence extends Sentence
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssignSentence.Impl |
static interface |
AssignSentence.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(AssignSentence.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Sentence.Visitor<P,R> visitor,
P par) |
VarDecl |
getTarget() |
Expr |
getValue() |
static AssignSentence |
of(VarDecl target,
Expr value) |
void |
setTarget(VarDecl target) |
void |
setValue(Expr value) |
static AssignSentence of(VarDecl target, Expr value)
VarDecl getTarget()
void setTarget(VarDecl target)
Expr getValue()
void setValue(Expr value)
default <P,R> R accept(AssignSentence.Visitor<P,R> visitor, P par)
default <P,R> R accept(Sentence.Visitor<P,R> visitor, P par)
default <P,R> R accept(Node.Visitor<P,R> visitor, P par)