MCPcopy Index your code
hub / github.com/donatj/sqlread / String

Method String

lexitemtype_string.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48var _lexItemType_index = [...]uint16{0, 8, 12, 17, 23, 31, 37, 42, 49, 56, 67, 85, 103, 124, 136, 143, 150, 162, 180, 203, 214, 225, 239, 253, 264, 277, 288, 297, 306, 322, 337, 353, 373, 382}
49
50func (i lexItemType) String() string {
51 if i >= lexItemType(len(_lexItemType_index)-1) {
52 return "lexItemType(" + strconv.FormatInt(int64(i), 10) + ")"
53 }
54 return _lexItemType_name[_lexItemType_index[i]:_lexItemType_index[i+1]]
55}

Callers 1

errorUnexpectedLexMethod · 0.80

Calls 1

lexItemTypeTypeAlias · 0.85

Tested by

no test coverage detected