src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

toktype_string.go (692B)


      1 // generated by stringer -type=tokType; DO NOT EDIT
      2 
      3 package jmespath
      4 
      5 import "fmt"
      6 
      7 const _tokType_name = "tUnknowntStartDottFiltertFlattentLparentRparentLbrackettRbrackettLbracetRbracetOrtPipetNumbertUnquotedIdentifiertQuotedIdentifiertCommatColontLTtLTEtGTtGTEtEQtNEtJSONLiteraltStringLiteraltCurrenttExpreftAndtNottEOF"
      8 
      9 var _tokType_index = [...]uint8{0, 8, 13, 17, 24, 32, 39, 46, 55, 64, 71, 78, 81, 86, 93, 112, 129, 135, 141, 144, 148, 151, 155, 158, 161, 173, 187, 195, 202, 206, 210, 214}
     10 
     11 func (i tokType) String() string {
     12 	if i < 0 || i >= tokType(len(_tokType_index)-1) {
     13 		return fmt.Sprintf("tokType(%d)", i)
     14 	}
     15 	return _tokType_name[_tokType_index[i]:_tokType_index[i+1]]
     16 }