| // Code generated by "stringer -type Operator -linecomment tokens.go"; DO NOT EDIT. |
| // An "invalid array index" compiler error signifies that the constant values have changed. |
| // Re-run the stringer command to generate them again. |
| const _Operator_name = ":!<-~||&&==!=<<=>>=+-|^*/%&&^<<>>" |
| var _Operator_index = [...]uint8{0, 1, 2, 4, 5, 7, 9, 11, 13, 14, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 31, 33} |
| func (i Operator) String() string { |
| if i >= Operator(len(_Operator_index)-1) { |
| return "Operator(" + strconv.FormatInt(int64(i+1), 10) + ")" |
| return _Operator_name[_Operator_index[i]:_Operator_index[i+1]] |