diff options
Diffstat (limited to 'vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go | 158 |
1 files changed, 110 insertions, 48 deletions
diff --git a/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go b/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go index 93de7ee..c23c4f0 100644 --- a/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go +++ b/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/token_type_string.go | |||
@@ -4,7 +4,67 @@ package hclsyntax | |||
4 | 4 | ||
5 | import "strconv" | 5 | import "strconv" |
6 | 6 | ||
7 | const _TokenType_name = "TokenNilTokenNewlineTokenBangTokenPercentTokenBitwiseAndTokenOParenTokenCParenTokenStarTokenPlusTokenCommaTokenMinusTokenDotTokenSlashTokenColonTokenSemicolonTokenLessThanTokenEqualTokenGreaterThanTokenQuestionTokenCommentTokenOHeredocTokenIdentTokenNumberLitTokenQuotedLitTokenStringLitTokenOBrackTokenCBrackTokenBitwiseXorTokenBacktickTokenCHeredocTokenOBraceTokenBitwiseOrTokenCBraceTokenBitwiseNotTokenOQuoteTokenCQuoteTokenTemplateControlTokenEllipsisTokenFatArrowTokenTemplateSeqEndTokenAndTokenOrTokenTemplateInterpTokenEqualOpTokenNotEqualTokenLessThanEqTokenGreaterThanEqTokenEOFTokenTabsTokenStarStarTokenInvalidTokenBadUTF8" | 7 | func _() { |
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[TokenOBrace-123] | ||
12 | _ = x[TokenCBrace-125] | ||
13 | _ = x[TokenOBrack-91] | ||
14 | _ = x[TokenCBrack-93] | ||
15 | _ = x[TokenOParen-40] | ||
16 | _ = x[TokenCParen-41] | ||
17 | _ = x[TokenOQuote-171] | ||
18 | _ = x[TokenCQuote-187] | ||
19 | _ = x[TokenOHeredoc-72] | ||
20 | _ = x[TokenCHeredoc-104] | ||
21 | _ = x[TokenStar-42] | ||
22 | _ = x[TokenSlash-47] | ||
23 | _ = x[TokenPlus-43] | ||
24 | _ = x[TokenMinus-45] | ||
25 | _ = x[TokenPercent-37] | ||
26 | _ = x[TokenEqual-61] | ||
27 | _ = x[TokenEqualOp-8788] | ||
28 | _ = x[TokenNotEqual-8800] | ||
29 | _ = x[TokenLessThan-60] | ||
30 | _ = x[TokenLessThanEq-8804] | ||
31 | _ = x[TokenGreaterThan-62] | ||
32 | _ = x[TokenGreaterThanEq-8805] | ||
33 | _ = x[TokenAnd-8743] | ||
34 | _ = x[TokenOr-8744] | ||
35 | _ = x[TokenBang-33] | ||
36 | _ = x[TokenDot-46] | ||
37 | _ = x[TokenComma-44] | ||
38 | _ = x[TokenEllipsis-8230] | ||
39 | _ = x[TokenFatArrow-8658] | ||
40 | _ = x[TokenQuestion-63] | ||
41 | _ = x[TokenColon-58] | ||
42 | _ = x[TokenTemplateInterp-8747] | ||
43 | _ = x[TokenTemplateControl-955] | ||
44 | _ = x[TokenTemplateSeqEnd-8718] | ||
45 | _ = x[TokenQuotedLit-81] | ||
46 | _ = x[TokenStringLit-83] | ||
47 | _ = x[TokenNumberLit-78] | ||
48 | _ = x[TokenIdent-73] | ||
49 | _ = x[TokenComment-67] | ||
50 | _ = x[TokenNewline-10] | ||
51 | _ = x[TokenEOF-9220] | ||
52 | _ = x[TokenBitwiseAnd-38] | ||
53 | _ = x[TokenBitwiseOr-124] | ||
54 | _ = x[TokenBitwiseNot-126] | ||
55 | _ = x[TokenBitwiseXor-94] | ||
56 | _ = x[TokenStarStar-10138] | ||
57 | _ = x[TokenApostrophe-39] | ||
58 | _ = x[TokenBacktick-96] | ||
59 | _ = x[TokenSemicolon-59] | ||
60 | _ = x[TokenTabs-9225] | ||
61 | _ = x[TokenInvalid-65533] | ||
62 | _ = x[TokenBadUTF8-128169] | ||
63 | _ = x[TokenQuotedNewline-9252] | ||
64 | _ = x[TokenNil-0] | ||
65 | } | ||
66 | |||
67 | const _TokenType_name = "TokenNilTokenNewlineTokenBangTokenPercentTokenBitwiseAndTokenApostropheTokenOParenTokenCParenTokenStarTokenPlusTokenCommaTokenMinusTokenDotTokenSlashTokenColonTokenSemicolonTokenLessThanTokenEqualTokenGreaterThanTokenQuestionTokenCommentTokenOHeredocTokenIdentTokenNumberLitTokenQuotedLitTokenStringLitTokenOBrackTokenCBrackTokenBitwiseXorTokenBacktickTokenCHeredocTokenOBraceTokenBitwiseOrTokenCBraceTokenBitwiseNotTokenOQuoteTokenCQuoteTokenTemplateControlTokenEllipsisTokenFatArrowTokenTemplateSeqEndTokenAndTokenOrTokenTemplateInterpTokenEqualOpTokenNotEqualTokenLessThanEqTokenGreaterThanEqTokenEOFTokenTabsTokenQuotedNewlineTokenStarStarTokenInvalidTokenBadUTF8" | ||
8 | 68 | ||
9 | var _TokenType_map = map[TokenType]string{ | 69 | var _TokenType_map = map[TokenType]string{ |
10 | 0: _TokenType_name[0:8], | 70 | 0: _TokenType_name[0:8], |
@@ -12,53 +72,55 @@ var _TokenType_map = map[TokenType]string{ | |||
12 | 33: _TokenType_name[20:29], | 72 | 33: _TokenType_name[20:29], |
13 | 37: _TokenType_name[29:41], | 73 | 37: _TokenType_name[29:41], |
14 | 38: _TokenType_name[41:56], | 74 | 38: _TokenType_name[41:56], |
15 | 40: _TokenType_name[56:67], | 75 | 39: _TokenType_name[56:71], |
16 | 41: _TokenType_name[67:78], | 76 | 40: _TokenType_name[71:82], |
17 | 42: _TokenType_name[78:87], | 77 | 41: _TokenType_name[82:93], |
18 | 43: _TokenType_name[87:96], | 78 | 42: _TokenType_name[93:102], |
19 | 44: _TokenType_name[96:106], | 79 | 43: _TokenType_name[102:111], |
20 | 45: _TokenType_name[106:116], | 80 | 44: _TokenType_name[111:121], |
21 | 46: _TokenType_name[116:124], | 81 | 45: _TokenType_name[121:131], |
22 | 47: _TokenType_name[124:134], | 82 | 46: _TokenType_name[131:139], |
23 | 58: _TokenType_name[134:144], | 83 | 47: _TokenType_name[139:149], |
24 | 59: _TokenType_name[144:158], | 84 | 58: _TokenType_name[149:159], |
25 | 60: _TokenType_name[158:171], | 85 | 59: _TokenType_name[159:173], |
26 | 61: _TokenType_name[171:181], | 86 | 60: _TokenType_name[173:186], |
27 | 62: _TokenType_name[181:197], | 87 | 61: _TokenType_name[186:196], |
28 | 63: _TokenType_name[197:210], | 88 | 62: _TokenType_name[196:212], |
29 | 67: _TokenType_name[210:222], | 89 | 63: _TokenType_name[212:225], |
30 | 72: _TokenType_name[222:235], | 90 | 67: _TokenType_name[225:237], |
31 | 73: _TokenType_name[235:245], | 91 | 72: _TokenType_name[237:250], |
32 | 78: _TokenType_name[245:259], | 92 | 73: _TokenType_name[250:260], |
33 | 81: _TokenType_name[259:273], | 93 | 78: _TokenType_name[260:274], |
34 | 83: _TokenType_name[273:287], | 94 | 81: _TokenType_name[274:288], |
35 | 91: _TokenType_name[287:298], | 95 | 83: _TokenType_name[288:302], |
36 | 93: _TokenType_name[298:309], | 96 | 91: _TokenType_name[302:313], |
37 | 94: _TokenType_name[309:324], | 97 | 93: _TokenType_name[313:324], |
38 | 96: _TokenType_name[324:337], | 98 | 94: _TokenType_name[324:339], |
39 | 104: _TokenType_name[337:350], | 99 | 96: _TokenType_name[339:352], |
40 | 123: _TokenType_name[350:361], | 100 | 104: _TokenType_name[352:365], |
41 | 124: _TokenType_name[361:375], | 101 | 123: _TokenType_name[365:376], |
42 | 125: _TokenType_name[375:386], | 102 | 124: _TokenType_name[376:390], |
43 | 126: _TokenType_name[386:401], | 103 | 125: _TokenType_name[390:401], |
44 | 171: _TokenType_name[401:412], | 104 | 126: _TokenType_name[401:416], |
45 | 187: _TokenType_name[412:423], | 105 | 171: _TokenType_name[416:427], |
46 | 955: _TokenType_name[423:443], | 106 | 187: _TokenType_name[427:438], |
47 | 8230: _TokenType_name[443:456], | 107 | 955: _TokenType_name[438:458], |
48 | 8658: _TokenType_name[456:469], | 108 | 8230: _TokenType_name[458:471], |
49 | 8718: _TokenType_name[469:488], | 109 | 8658: _TokenType_name[471:484], |
50 | 8743: _TokenType_name[488:496], | 110 | 8718: _TokenType_name[484:503], |
51 | 8744: _TokenType_name[496:503], | 111 | 8743: _TokenType_name[503:511], |
52 | 8747: _TokenType_name[503:522], | 112 | 8744: _TokenType_name[511:518], |
53 | 8788: _TokenType_name[522:534], | 113 | 8747: _TokenType_name[518:537], |
54 | 8800: _TokenType_name[534:547], | 114 | 8788: _TokenType_name[537:549], |
55 | 8804: _TokenType_name[547:562], | 115 | 8800: _TokenType_name[549:562], |
56 | 8805: _TokenType_name[562:580], | 116 | 8804: _TokenType_name[562:577], |
57 | 9220: _TokenType_name[580:588], | 117 | 8805: _TokenType_name[577:595], |
58 | 9225: _TokenType_name[588:597], | 118 | 9220: _TokenType_name[595:603], |
59 | 10138: _TokenType_name[597:610], | 119 | 9225: _TokenType_name[603:612], |
60 | 65533: _TokenType_name[610:622], | 120 | 9252: _TokenType_name[612:630], |
61 | 128169: _TokenType_name[622:634], | 121 | 10138: _TokenType_name[630:643], |
122 | 65533: _TokenType_name[643:655], | ||
123 | 128169: _TokenType_name[655:667], | ||
62 | } | 124 | } |
63 | 125 | ||
64 | func (i TokenType) String() string { | 126 | func (i TokenType) String() string { |