2019-06-21 13:56:57 +02:00
|
|
|
package jet
|
2019-06-21 12:30:32 +02:00
|
|
|
|
2019-07-18 17:43:11 +02:00
|
|
|
// NumericExpression is common interface for all integer and float expressions
|
2019-06-21 12:30:32 +02:00
|
|
|
type NumericExpression interface {
|
|
|
|
|
Expression
|
|
|
|
|
numericExpression
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type numericExpression interface {
|
|
|
|
|
isNumericExpression()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type numericExpressionImpl struct{}
|
|
|
|
|
|
|
|
|
|
func (n *numericExpressionImpl) isNumericExpression() {}
|