-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlexitemtype_string.go
More file actions
58 lines (52 loc) · 1.97 KB
/
lexitemtype_string.go
File metadata and controls
58 lines (52 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by "stringer -type=lexItemType"; DO NOT EDIT.
package sqlread
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[TIllegal-0]
_ = x[TEof-1]
_ = x[TSemi-2]
_ = x[TComma-3]
_ = x[TComment-4]
_ = x[TDelim-5]
_ = x[TNull-6]
_ = x[TString-7]
_ = x[TNumber-8]
_ = x[THexLiteral-9]
_ = x[TIdentifier-10]
_ = x[TDropTableFullStmt-11]
_ = x[TLockTableFullStmt-12]
_ = x[TUnlockTablesFullStmt-13]
_ = x[TSetFullStmt-14]
_ = x[TLParen-15]
_ = x[TRParen-16]
_ = x[TCreateTable-17]
_ = x[TCreateTableDetail-18]
_ = x[TCreateTableExtraDetail-19]
_ = x[TColumnType-20]
_ = x[TColumnSize-21]
_ = x[TColumnEnumVal-22]
_ = x[TColumnDetails-23]
_ = x[TInsertInto-24]
_ = x[TInsertValues-25]
_ = x[TIntpSelect-26]
_ = x[TIntpStar-27]
_ = x[TIntpFrom-28]
_ = x[TIntpIntoOutfile-29]
_ = x[TIntpShowTables-30]
_ = x[TIntpShowColumns-31]
_ = x[TIntpShowCreateTable-32]
_ = x[TIntpQuit-33]
_ = x[TBeginFullStmt-34]
_ = x[TCommitFullStmt-35]
}
const _lexItemType_name = "TIllegalTEofTSemiTCommaTCommentTDelimTNullTStringTNumberTHexLiteralTIdentifierTDropTableFullStmtTLockTableFullStmtTUnlockTablesFullStmtTSetFullStmtTLParenTRParenTCreateTableTCreateTableDetailTCreateTableExtraDetailTColumnTypeTColumnSizeTColumnEnumValTColumnDetailsTInsertIntoTInsertValuesTIntpSelectTIntpStarTIntpFromTIntpIntoOutfileTIntpShowTablesTIntpShowColumnsTIntpShowCreateTableTIntpQuitTBeginFullStmtTCommitFullStmt"
var _lexItemType_index = [...]uint16{0, 8, 12, 17, 23, 31, 37, 42, 49, 56, 67, 78, 96, 114, 135, 147, 154, 161, 173, 191, 214, 225, 236, 250, 264, 275, 288, 299, 308, 317, 333, 348, 364, 384, 393, 407, 422}
func (i lexItemType) String() string {
if i >= lexItemType(len(_lexItemType_index)-1) {
return "lexItemType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _lexItemType_name[_lexItemType_index[i]:_lexItemType_index[i+1]]
}