Remove unnecessary operators.

This commit is contained in:
go-jet 2019-08-09 10:30:24 +02:00
parent 6805462d10
commit d00167cbba
6 changed files with 15 additions and 47 deletions

View file

@ -2,18 +2,6 @@ package jet
import "errors"
// --------- Arithmetic operators -------------//
// MINUSi changes the sign of the intExp.
func MINUSi(intExp IntegerExpression) IntegerExpression {
return newPrefixIntegerOperator(intExp, "-")
}
// MINUSi changes the sign of the intExp.
func MINUSf(floatExp FloatExpression) FloatExpression {
return newPrefixFloatOperator(floatExp, "-")
}
//----------- Logical operators ---------------//
// NOT returns negation of bool expression result