| 1 | package ast |
| 2 | |
| 3 | import "regexp" |
| 4 | |
| 5 | type NumberFloatExpr struct { |
| 6 | Value float64 |
| 7 | } |
| 8 | |
| 9 | func (NumberFloatExpr) expr() {} |
| 10 | |
| 11 | type NumberIntExpr struct { |
| 12 | Value int64 |
| 13 | } |
| 14 | |
| 15 | func (NumberIntExpr) expr() {} |
| 16 | |
| 17 | type StringExpr struct { |
| 18 | Value string |
| 19 | } |
| 20 | |
| 21 | func (StringExpr) expr() {} |
| 22 | |
| 23 | type BoolExpr struct { |
| 24 | Value bool |
| 25 | } |
| 26 | |
| 27 | func (BoolExpr) expr() {} |
| 28 | |
| 29 | type RegexExpr struct { |
| 30 | Regex *regexp.Regexp |
| 31 | } |
| 32 | |
| 33 | func (RegexExpr) expr() {} |
| 34 | |
| 35 | type NullExpr struct{} |
| 36 | |
| 37 | func (NullExpr) expr() {} |