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