mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-08 15:27:13 +02:00
Clean up token strings
This commit is contained in:
parent
44770e75dd
commit
5ae4798d8d
@ -101,16 +101,16 @@ const (
|
||||
|
||||
var tokenKindStrings = []string{
|
||||
// Symbols
|
||||
tokenBraceL: "\"{\"",
|
||||
tokenBraceR: "\"}\"",
|
||||
tokenBracketL: "\"[\"",
|
||||
tokenBracketR: "\"]\"",
|
||||
tokenComma: "\",\"",
|
||||
tokenDollar: "\"$\"",
|
||||
tokenDot: "\".\"",
|
||||
tokenParenL: "\"(\"",
|
||||
tokenParenR: "\")\"",
|
||||
tokenSemicolon: "\";\"",
|
||||
tokenBraceL: `"{"`,
|
||||
tokenBraceR: `"}"`,
|
||||
tokenBracketL: `"["`,
|
||||
tokenBracketR: `"]"`,
|
||||
tokenComma: `","`,
|
||||
tokenDollar: `"$"`,
|
||||
tokenDot: `"."`,
|
||||
tokenParenL: `"("`,
|
||||
tokenParenR: `")"`,
|
||||
tokenSemicolon: `";"`,
|
||||
|
||||
// Arbitrary length lexemes
|
||||
tokenIdentifier: "IDENTIFIER",
|
||||
|
Loading…
Reference in New Issue
Block a user