|
// 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, 6, 8, 10, 12, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 30, 32} |
|
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]] |