Package org.fulib.scenarios.ast.sentence
Class AssignSentence.Impl
- java.lang.Object
-
- org.fulib.scenarios.ast.Positioned.Impl
-
- org.fulib.scenarios.ast.sentence.AssignSentence.Impl
-
- All Implemented Interfaces:
Node
,Positioned
,AssignSentence
,Sentence
- Enclosing interface:
- AssignSentence
public static class AssignSentence.Impl extends Positioned.Impl implements AssignSentence
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.sentence.AssignSentence
AssignSentence.Impl, AssignSentence.Visitor<P,R>
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.Positioned
Positioned.Impl, Positioned.Visitor<P,R>
-
-
Constructor Summary
Constructors Constructor Description Impl()
Impl(VarDecl target, BinaryOperator operator, Expr value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryOperator
getOperator()
VarDecl
getTarget()
Expr
getValue()
void
setOperator(BinaryOperator operator)
void
setTarget(VarDecl target)
void
setValue(Expr value)
-
Methods inherited from class org.fulib.scenarios.ast.Positioned.Impl
getPosition, setPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fulib.scenarios.ast.sentence.AssignSentence
accept, accept, accept, accept
-
Methods inherited from interface org.fulib.scenarios.ast.Positioned
getPosition, setPosition
-
-
-
-
Constructor Detail
-
Impl
public Impl()
-
Impl
public Impl(VarDecl target, BinaryOperator operator, Expr value)
-
-
Method Detail
-
getTarget
public VarDecl getTarget()
- Specified by:
getTarget
in interfaceAssignSentence
-
setTarget
public void setTarget(VarDecl target)
- Specified by:
setTarget
in interfaceAssignSentence
-
getOperator
public BinaryOperator getOperator()
- Specified by:
getOperator
in interfaceAssignSentence
-
setOperator
public void setOperator(BinaryOperator operator)
- Specified by:
setOperator
in interfaceAssignSentence
-
getValue
public Expr getValue()
- Specified by:
getValue
in interfaceAssignSentence
-
setValue
public void setValue(Expr value)
- Specified by:
setValue
in interfaceAssignSentence
-
-