package Expression
Contains arithmetic expressions
Type Members
-
case class
Binary(op: Operator.Binary, a: Expression, b: Expression) extends Expression with Product with Serializable
Binary arithmetic expression
Binary arithmetic expression
- op
binary arithmetic operator
- a
left arithmetic expression
- b
right arithmetic expression
-
case class
Unary(op: Operator.Unary, a: Expression) extends Expression with Product with Serializable
Unary arithmetic expression
Unary arithmetic expression
- op
unary arithmetic operator
- a
arithmetic expression
-
case class
Value(tValue: Int) extends Expression with Product with Serializable
Constant value expression
Constant value expression
- tValue
value
-
case class
Variable(tName: String) extends Expression with Product with Serializable
Variable expression
Variable expression
- tName
name of variable