diff --git a/hcl/hclsyntax/token.go b/hcl/hclsyntax/token.go index 1967c22..f28211d 100644 --- a/hcl/hclsyntax/token.go +++ b/hcl/hclsyntax/token.go @@ -90,6 +90,7 @@ const ( TokenBitwiseNot TokenType = '~' TokenBitwiseXor TokenType = '^' TokenStarStar TokenType = '➚' + TokenApostrophe TokenType = '\'' TokenBacktick TokenType = '`' TokenSemicolon TokenType = ';' TokenTabs TokenType = '␉' diff --git a/hcl/hclsyntax/token_type_string.go b/hcl/hclsyntax/token_type_string.go index 93de7ee..a14066e 100644 --- a/hcl/hclsyntax/token_type_string.go +++ b/hcl/hclsyntax/token_type_string.go @@ -4,7 +4,7 @@ package hclsyntax import "strconv" -const _TokenType_name = "TokenNilTokenNewlineTokenBangTokenPercentTokenBitwiseAndTokenOParenTokenCParenTokenStarTokenPlusTokenCommaTokenMinusTokenDotTokenSlashTokenColonTokenSemicolonTokenLessThanTokenEqualTokenGreaterThanTokenQuestionTokenCommentTokenOHeredocTokenIdentTokenNumberLitTokenQuotedLitTokenStringLitTokenOBrackTokenCBrackTokenBitwiseXorTokenBacktickTokenCHeredocTokenOBraceTokenBitwiseOrTokenCBraceTokenBitwiseNotTokenOQuoteTokenCQuoteTokenTemplateControlTokenEllipsisTokenFatArrowTokenTemplateSeqEndTokenAndTokenOrTokenTemplateInterpTokenEqualOpTokenNotEqualTokenLessThanEqTokenGreaterThanEqTokenEOFTokenTabsTokenStarStarTokenInvalidTokenBadUTF8" +const _TokenType_name = "TokenNilTokenNewlineTokenBangTokenPercentTokenBitwiseAndTokenApostropheTokenOParenTokenCParenTokenStarTokenPlusTokenCommaTokenMinusTokenDotTokenSlashTokenColonTokenSemicolonTokenLessThanTokenEqualTokenGreaterThanTokenQuestionTokenCommentTokenOHeredocTokenIdentTokenNumberLitTokenQuotedLitTokenStringLitTokenOBrackTokenCBrackTokenBitwiseXorTokenBacktickTokenCHeredocTokenOBraceTokenBitwiseOrTokenCBraceTokenBitwiseNotTokenOQuoteTokenCQuoteTokenTemplateControlTokenEllipsisTokenFatArrowTokenTemplateSeqEndTokenAndTokenOrTokenTemplateInterpTokenEqualOpTokenNotEqualTokenLessThanEqTokenGreaterThanEqTokenEOFTokenTabsTokenStarStarTokenInvalidTokenBadUTF8" var _TokenType_map = map[TokenType]string{ 0: _TokenType_name[0:8], @@ -12,53 +12,54 @@ var _TokenType_map = map[TokenType]string{ 33: _TokenType_name[20:29], 37: _TokenType_name[29:41], 38: _TokenType_name[41:56], - 40: _TokenType_name[56:67], - 41: _TokenType_name[67:78], - 42: _TokenType_name[78:87], - 43: _TokenType_name[87:96], - 44: _TokenType_name[96:106], - 45: _TokenType_name[106:116], - 46: _TokenType_name[116:124], - 47: _TokenType_name[124:134], - 58: _TokenType_name[134:144], - 59: _TokenType_name[144:158], - 60: _TokenType_name[158:171], - 61: _TokenType_name[171:181], - 62: _TokenType_name[181:197], - 63: _TokenType_name[197:210], - 67: _TokenType_name[210:222], - 72: _TokenType_name[222:235], - 73: _TokenType_name[235:245], - 78: _TokenType_name[245:259], - 81: _TokenType_name[259:273], - 83: _TokenType_name[273:287], - 91: _TokenType_name[287:298], - 93: _TokenType_name[298:309], - 94: _TokenType_name[309:324], - 96: _TokenType_name[324:337], - 104: _TokenType_name[337:350], - 123: _TokenType_name[350:361], - 124: _TokenType_name[361:375], - 125: _TokenType_name[375:386], - 126: _TokenType_name[386:401], - 171: _TokenType_name[401:412], - 187: _TokenType_name[412:423], - 955: _TokenType_name[423:443], - 8230: _TokenType_name[443:456], - 8658: _TokenType_name[456:469], - 8718: _TokenType_name[469:488], - 8743: _TokenType_name[488:496], - 8744: _TokenType_name[496:503], - 8747: _TokenType_name[503:522], - 8788: _TokenType_name[522:534], - 8800: _TokenType_name[534:547], - 8804: _TokenType_name[547:562], - 8805: _TokenType_name[562:580], - 9220: _TokenType_name[580:588], - 9225: _TokenType_name[588:597], - 10138: _TokenType_name[597:610], - 65533: _TokenType_name[610:622], - 128169: _TokenType_name[622:634], + 39: _TokenType_name[56:71], + 40: _TokenType_name[71:82], + 41: _TokenType_name[82:93], + 42: _TokenType_name[93:102], + 43: _TokenType_name[102:111], + 44: _TokenType_name[111:121], + 45: _TokenType_name[121:131], + 46: _TokenType_name[131:139], + 47: _TokenType_name[139:149], + 58: _TokenType_name[149:159], + 59: _TokenType_name[159:173], + 60: _TokenType_name[173:186], + 61: _TokenType_name[186:196], + 62: _TokenType_name[196:212], + 63: _TokenType_name[212:225], + 67: _TokenType_name[225:237], + 72: _TokenType_name[237:250], + 73: _TokenType_name[250:260], + 78: _TokenType_name[260:274], + 81: _TokenType_name[274:288], + 83: _TokenType_name[288:302], + 91: _TokenType_name[302:313], + 93: _TokenType_name[313:324], + 94: _TokenType_name[324:339], + 96: _TokenType_name[339:352], + 104: _TokenType_name[352:365], + 123: _TokenType_name[365:376], + 124: _TokenType_name[376:390], + 125: _TokenType_name[390:401], + 126: _TokenType_name[401:416], + 171: _TokenType_name[416:427], + 187: _TokenType_name[427:438], + 955: _TokenType_name[438:458], + 8230: _TokenType_name[458:471], + 8658: _TokenType_name[471:484], + 8718: _TokenType_name[484:503], + 8743: _TokenType_name[503:511], + 8744: _TokenType_name[511:518], + 8747: _TokenType_name[518:537], + 8788: _TokenType_name[537:549], + 8800: _TokenType_name[549:562], + 8804: _TokenType_name[562:577], + 8805: _TokenType_name[577:595], + 9220: _TokenType_name[595:603], + 9225: _TokenType_name[603:612], + 10138: _TokenType_name[612:625], + 65533: _TokenType_name[625:637], + 128169: _TokenType_name[637:649], } func (i TokenType) String() string {