1// Code generated by "stringer -type delim"; DO NOT EDIT. 2 3package template 4 5import "strconv" 6 7func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[delimNone-0] 12 _ = x[delimDoubleQuote-1] 13 _ = x[delimSingleQuote-2] 14 _ = x[delimSpaceOrTagEnd-3] 15} 16 17const _delim_name = "delimNonedelimDoubleQuotedelimSingleQuotedelimSpaceOrTagEnd" 18 19var _delim_index = [...]uint8{0, 9, 25, 41, 59} 20 21func (i delim) String() string { 22 if i >= delim(len(_delim_index)-1) { 23 return "delim(" + strconv.FormatInt(int64(i), 10) + ")" 24 } 25 return _delim_name[_delim_index[i]:_delim_index[i+1]] 26} 27