2015-02-26 20:32:39 +01:00
|
|
|
package ast
|
|
|
|
|
|
|
|
// ArithmeticOp is the operation to use for the math.
|
|
|
|
type ArithmeticOp int
|
|
|
|
|
|
|
|
const (
|
|
|
|
ArithmeticOpInvalid ArithmeticOp = 0
|
|
|
|
ArithmeticOpAdd ArithmeticOp = iota
|
|
|
|
ArithmeticOpSub
|
|
|
|
ArithmeticOpMul
|
|
|
|
ArithmeticOpDiv
|
2015-02-27 00:17:37 +01:00
|
|
|
ArithmeticOpMod
|
2015-02-26 20:32:39 +01:00
|
|
|
)
|