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(Positioned.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Sentence.Visitor<P,R> visitor,
P par) |
BinaryOperator |
getOperator() |
Decl |
getTarget() |
Expr |
getValue() |
static AssignSentence |
of(Decl target,
BinaryOperator operator,
Expr value) |
void |
setOperator(BinaryOperator operator) |
void |
setTarget(Decl target) |
void |
setValue(Expr value) |
getPosition, of, setPositionstatic AssignSentence of(Decl target, BinaryOperator operator, Expr value)
Decl getTarget()
void setTarget(Decl target)
BinaryOperator getOperator()
void setOperator(BinaryOperator operator)
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(Positioned.Visitor<P,R> visitor, P par)
accept in interface Positionedaccept in interface Sentencedefault <P,R> R accept(Node.Visitor<P,R> visitor, P par)