Distinguish between stringLiteral and hexStringLiteral in the JSON AST

This commit is contained in:
Alex Beregszaszi
2020-07-27 10:19:24 +01:00
parent 7ad27188a0
commit 5ecc84e92e
6 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"kind": "hexString",
"lValueRequested": false,
"nodeType": "Literal",
"src": "53:7:1",
@@ -130,7 +130,7 @@
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"token": "string",
"token": "hexString",
"type": "literal_string (contains invalid UTF-8 sequence at position 0)"
},
"id": 5,