Ignore empty fixture directories and fix fixtures in the parser (#9113)

* Ignore fixture directories that do not contain input or exec

* Fix parser test fixtures structures for some imported esprima tests.

* Warn on test folders that are not empty and do not contain testfiles
This commit is contained in:
Daniel Tschinder 2018-12-02 22:55:06 -08:00 committed by GitHub
parent 3530d11418
commit 07eaa3c63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
366 changed files with 14984 additions and 754 deletions

View File

@ -70,7 +70,7 @@ function findFile(filepath: string, allowJSON: boolean) {
throw new Error(`Found conflicting file matches: ${matches.join(", ")}`); throw new Error(`Found conflicting file matches: ${matches.join(", ")}`);
} }
return matches[0] || filepath + ".js"; return matches[0];
} }
export default function get(entryLoc): Array<Suite> { export default function get(entryLoc): Array<Suite> {
@ -101,10 +101,26 @@ export default function get(entryLoc): Array<Suite> {
} }
function push(taskName, taskDir) { function push(taskName, taskDir) {
const actualLoc = findFile(taskDir + "/input"); const taskDirStats = fs.statSync(taskDir);
const expectLoc = findFile(taskDir + "/output", true /* allowJSON */); let actualLoc = findFile(taskDir + "/input");
let execLoc = findFile(taskDir + "/exec"); let execLoc = findFile(taskDir + "/exec");
// If neither input nor exec is present it is not a real testcase
if (taskDirStats.isDirectory() && !actualLoc && !execLoc) {
if (fs.readdirSync(taskDir).length > 0) {
console.warn(`Skipped test folder with invalid layout: ${taskDir}`);
}
return;
} else if (!actualLoc) {
actualLoc = taskDir + "/input.js";
} else if (!execLoc) {
execLoc = taskDir + "/exec.js";
}
const expectLoc =
findFile(taskDir + "/output", true /* allowJSON */) ||
taskDir + "/output.js";
const actualLocAlias = const actualLocAlias =
suiteName + "/" + taskName + "/" + path.basename(actualLoc); suiteName + "/" + taskName + "/" + path.basename(actualLoc);
const expectLocAlias = const expectLocAlias =
@ -112,7 +128,7 @@ export default function get(entryLoc): Array<Suite> {
let execLocAlias = let execLocAlias =
suiteName + "/" + taskName + "/" + path.basename(actualLoc); suiteName + "/" + taskName + "/" + path.basename(actualLoc);
if (fs.statSync(taskDir).isFile()) { if (taskDirStats.isFile()) {
const ext = path.extname(taskDir); const ext = path.extname(taskDir);
if (EXTENSIONS.indexOf(ext) === -1) return; if (EXTENSIONS.indexOf(ext) === -1) return;

View File

@ -0,0 +1,370 @@
{
"type": "File",
"start": 0,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 25
}
},
"program": {
"type": "Program",
"start": 0,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 25
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 25
}
},
"expression": {
"type": "ArrowFunctionExpression",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 1,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 20
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
}
},
"method": false,
"key": {
"type": "Identifier",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
},
"identifierName": "a"
},
"name": "a"
},
"computed": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
},
"identifierName": "a"
},
"name": "a"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 4,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 7
}
},
"method": false,
"key": {
"type": "Identifier",
"start": 4,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 5
},
"identifierName": "b"
},
"name": "b"
},
"computed": false,
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 4,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 7
}
},
"left": {
"type": "Identifier",
"start": 4,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 5
},
"identifierName": "b"
},
"name": "b"
},
"right": {
"type": "Identifier",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
},
"identifierName": "b"
},
"name": "b"
}
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 11
}
},
"method": false,
"key": {
"type": "Identifier",
"start": 8,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 9
},
"identifierName": "a"
},
"name": "a"
},
"computed": false,
"shorthand": false,
"value": {
"type": "Identifier",
"start": 10,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 11
},
"identifierName": "c"
},
"name": "c"
}
},
{
"type": "ObjectProperty",
"start": 12,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 19
}
},
"method": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 13,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "a"
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 16,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 19
}
},
"elements": [
{
"type": "Identifier",
"start": 17,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "d"
},
"name": "d"
}
]
}
}
]
}
],
"body": {
"type": "NumericLiteral",
"start": 23,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,106 @@
{
"type": "File",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"program": {
"type": "Program",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"expression": {
"type": "ArrowFunctionExpression",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 1,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 3
}
},
"properties": []
}
],
"body": {
"type": "NumericLiteral",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,3 @@
{
"throws": "Invalid left-hand side in object destructuring pattern (1:4)"
}

View File

@ -0,0 +1,3 @@
{
"throws": "Object pattern can't contain getter or setter (1:6)"
}

View File

@ -0,0 +1,3 @@
{
"throws": "Invalid left-hand side in object destructuring pattern (1:24)"
}

View File

@ -0,0 +1,3 @@
{
"throws": "Unexpected token, expected \",\" (1:3)"
}

View File

@ -0,0 +1,194 @@
{
"type": "File",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"program": {
"type": "Program",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"expression": {
"type": "ArrowFunctionExpression",
"start": 0,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 15
}
},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 1,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
}
},
"method": false,
"key": {
"type": "Identifier",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
},
"identifierName": "a"
},
"name": "a"
},
"computed": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
},
"identifierName": "a"
},
"name": "a"
},
"extra": {
"shorthand": true
}
},
{
"type": "RestElement",
"start": 4,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 8
}
},
"argument": {
"type": "Identifier",
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
},
"identifierName": "b"
},
"name": "b"
}
}
]
}
],
"body": {
"type": "NumericLiteral",
"start": 14,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,534 @@
{
"type": "File",
"start": 0,
"end": 51,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 51
}
},
"program": {
"type": "Program",
"start": 0,
"end": 51,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 51
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 51,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 51
}
},
"expression": {
"type": "ArrowFunctionExpression",
"start": 0,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 50
}
},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "ArrayPattern",
"start": 1,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 46
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 2,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 45
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 3,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 3
},
"end": {
"line": 1,
"column": 44
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 4,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 43
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 5,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 42
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 6,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 41
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 7,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 40
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 8,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 39
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 9,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 38
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 10,
"end": 37,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 37
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 11,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 36
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 12,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 35
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 13,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 34
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 14,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 33
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 15,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 32
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 16,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 31
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 17,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 30
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 18,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 29
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 19,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 28
}
},
"elements": [
{
"type": "ArrayPattern",
"start": 20,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 27
}
},
"elements": [
{
"type": "ObjectPattern",
"start": 21,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 26
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 22,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 25
}
},
"method": false,
"key": {
"type": "Identifier",
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "a"
},
"name": "a"
},
"computed": false,
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 22,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "a"
},
"name": "a"
},
"right": {
"type": "Identifier",
"start": 24,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "b"
},
"name": "b"
}
},
"extra": {
"shorthand": true
}
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
],
"body": {
"type": "NumericLiteral",
"start": 49,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 49
},
"end": {
"line": 1,
"column": 50
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
}

View File

@ -1 +0,0 @@
{"index":10,"lineNumber":1,"column":11,"message":"Error: Line 1: Unexpected token =>","description":"Unexpected token =>"}

View File

@ -1 +0,0 @@
{"index":14,"lineNumber":1,"column":15,"message":"Error: Line 1: Unexpected token =>","description":"Unexpected token =>"}

View File

@ -1 +0,0 @@
{"index":50,"lineNumber":1,"column":51,"message":"Error: Line 1: Unexpected token =>","description":"Unexpected token =>"}

View File

@ -1 +0,0 @@
{"index":3,"lineNumber":1,"column":4,"message":"Error: Line 1: Unexpected token =>","description":"Unexpected token =>"}

View File

@ -1 +0,0 @@
{"index":4,"lineNumber":1,"column":5,"message":"Error: Line 1: Unexpected token ...","description":"Unexpected token ..."}

View File

@ -1,34 +0,0 @@
{
"type": "File",
"start": 0,
"end": 0,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 0,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 0
}
},
"sourceType": "script",
"interpreter": null,
"body": [],
"directives": []
}
}

View File

@ -1 +1 @@
var source = '\uD800!'; \uD800!

View File

@ -1 +1 @@
var source = '`\\n\\r\\b\\v\\t\\f\\\n\\\r\n`'; `\\n\\r\\b\\v\\t\\f\\\n\\\r\n`

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,16 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "ExpressionStatement",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +40,49 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"declarations": [ "expression": {
"type": "TemplateLiteral",
"start": 0,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 30
}
},
"expressions": [],
"quasis": [
{ {
"type": "VariableDeclarator", "type": "TemplateElement",
"start": 4, "start": 1,
"end": 45, "end": 29,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 1
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 45 "column": 29
} }
}, },
"id": { "value": {
"type": "Identifier", "raw": "\\\\n\\\\r\\\\b\\\\v\\\\t\\\\f\\\\\\n\\\\\\r\\n",
"start": 4, "cooked": "\\n\\r\\b\\v\\t\\f\\\n\\\r\n"
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
}, },
"end": { "tail": true
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 45
} }
}, ]
"extra": {
"rawValue": "`\\n\\r\\b\\v\\t\\f\\\n\\\r\n`",
"raw": "'`\\\\n\\\\r\\\\b\\\\v\\\\t\\\\f\\\\\\n\\\\\\r\\n`'"
},
"value": "`\\n\\r\\b\\v\\t\\f\\\n\\\r\n`"
} }
} }
], ],
"kind": "var"
}
],
"directives": [] "directives": []
} }
} }

View File

@ -1 +1 @@
var source = '`\n\r\n`'; `\n\r\n`

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 24, "end": 8,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 24 "column": 8
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 24, "end": 8,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,16 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 24 "column": 8
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "ExpressionStatement",
"start": 0, "start": 0,
"end": 24, "end": 8,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +40,49 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 24 "column": 8
} }
}, },
"declarations": [ "expression": {
"type": "TemplateLiteral",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"expressions": [],
"quasis": [
{ {
"type": "VariableDeclarator", "type": "TemplateElement",
"start": 4, "start": 1,
"end": 23, "end": 7,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 1
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 23 "column": 7
} }
}, },
"id": { "value": {
"type": "Identifier", "raw": "\\n\\r\\n",
"start": 4, "cooked": "\n\r\n"
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
}, },
"end": { "tail": true
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 23
} }
}, ]
"extra": {
"rawValue": "`\n\r\n`",
"raw": "'`\\n\\r\\n`'"
},
"value": "`\n\r\n`"
} }
} }
], ],
"kind": "var"
}
],
"directives": [] "directives": []
} }
} }

View File

@ -1 +1 @@
var source = '`\\u{000042}\\u0042\\x42\\u0\\A\\0`'; `\\u{000042}\\u0042\\x42\\u0\\A\\0`

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 51, "end": 35,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 51 "column": 35
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 51, "end": 35,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,16 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 51 "column": 35
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "ExpressionStatement",
"start": 0, "start": 0,
"end": 51, "end": 35,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +40,49 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 51 "column": 35
} }
}, },
"declarations": [ "expression": {
"type": "TemplateLiteral",
"start": 0,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 35
}
},
"expressions": [],
"quasis": [
{ {
"type": "VariableDeclarator", "type": "TemplateElement",
"start": 4, "start": 1,
"end": 50, "end": 34,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 1
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 50 "column": 34
} }
}, },
"id": { "value": {
"type": "Identifier", "raw": "\\\\u{000042}\\\\u0042\\\\x42\\\\u0\\\\A\\\\0",
"start": 4, "cooked": "\\u{000042}\\u0042\\x42\\u0\\A\\0"
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
}, },
"end": { "tail": true
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 50
} }
}, ]
"extra": {
"rawValue": "`\\u{000042}\\u0042\\x42\\u0\\A\\0`",
"raw": "'`\\\\u{000042}\\\\u0042\\\\x42\\\\u0\\\\A\\\\0`'"
},
"value": "`\\u{000042}\\u0042\\x42\\u0\\A\\0`"
} }
} }
], ],
"kind": "var"
}
],
"directives": [] "directives": []
} }
} }

View File

@ -1 +1 @@
var source = '"\\u{714E}\\u{8336}"'; "\\u{714E}\\u{8336}"

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 36, "end": 20,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 36 "column": 20
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 36, "end": 20,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,17 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 36 "column": 20
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [],
"directives": [
{ {
"type": "VariableDeclaration", "type": "Directive",
"start": 0, "start": 0,
"end": 36, "end": 20,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +41,30 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 36 "column": 20
} }
}, },
"declarations": [ "value": {
{ "type": "DirectiveLiteral",
"type": "VariableDeclarator", "start": 0,
"start": 4, "end": 20,
"end": 35,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 35 "column": 20
}
},
"id": {
"type": "Identifier",
"start": 4,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 35
} }
}, },
"value": "\\\\u{714E}\\\\u{8336}",
"extra": { "extra": {
"rawValue": "\"\\u{714E}\\u{8336}\"", "raw": "\"\\\\u{714E}\\\\u{8336}\"",
"raw": "'\"\\\\u{714E}\\\\u{8336}\"'" "rawValue": "\\\\u{714E}\\\\u{8336}"
},
"value": "\"\\u{714E}\\u{8336}\""
} }
} }
],
"kind": "var"
} }
], ]
"directives": []
} }
} }

View File

@ -1 +1 @@
var source = '"\\u{20BB7}\\u{91CE}\\u{5BB6}"'; "\\u{20BB7}\\u{91CE}\\u{5BB6}"

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,17 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [],
"directives": [
{ {
"type": "VariableDeclaration", "type": "Directive",
"start": 0, "start": 0,
"end": 46, "end": 30,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +41,30 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 46 "column": 30
} }
}, },
"declarations": [ "value": {
{ "type": "DirectiveLiteral",
"type": "VariableDeclarator", "start": 0,
"start": 4, "end": 30,
"end": 45,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 45 "column": 30
}
},
"id": {
"type": "Identifier",
"start": 4,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 45
} }
}, },
"value": "\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}",
"extra": { "extra": {
"rawValue": "\"\\u{20BB7}\\u{91CE}\\u{5BB6}\"", "raw": "\"\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}\"",
"raw": "'\"\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}\"'" "rawValue": "\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}"
},
"value": "\"\\u{20BB7}\\u{91CE}\\u{5BB6}\""
} }
} }
],
"kind": "var"
} }
], ]
"directives": []
} }
} }

View File

@ -1 +1 @@
var source = '"\\u{00000000034}"'; "\\u{00000000034}"

View File

@ -1,7 +1,7 @@
{ {
"type": "File", "type": "File",
"start": 0, "start": 0,
"end": 34, "end": 18,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -9,13 +9,13 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 34 "column": 18
} }
}, },
"program": { "program": {
"type": "Program", "type": "Program",
"start": 0, "start": 0,
"end": 34, "end": 18,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -23,16 +23,17 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 34 "column": 18
} }
}, },
"sourceType": "script", "sourceType": "script",
"interpreter": null, "interpreter": null,
"body": [ "body": [],
"directives": [
{ {
"type": "VariableDeclaration", "type": "Directive",
"start": 0, "start": 0,
"end": 34, "end": 18,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
@ -40,66 +41,30 @@
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 34 "column": 18
} }
}, },
"declarations": [ "value": {
{ "type": "DirectiveLiteral",
"type": "VariableDeclarator", "start": 0,
"start": 4, "end": 18,
"end": 33,
"loc": { "loc": {
"start": { "start": {
"line": 1, "line": 1,
"column": 4 "column": 0
}, },
"end": { "end": {
"line": 1, "line": 1,
"column": 33 "column": 18
}
},
"id": {
"type": "Identifier",
"start": 4,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 10
},
"identifierName": "source"
},
"name": "source"
},
"init": {
"type": "StringLiteral",
"start": 13,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 33
} }
}, },
"value": "\\\\u{00000000034}",
"extra": { "extra": {
"rawValue": "\"\\u{00000000034}\"", "raw": "\"\\\\u{00000000034}\"",
"raw": "'\"\\\\u{00000000034}\"'" "rawValue": "\\\\u{00000000034}"
},
"value": "\"\\u{00000000034}\""
} }
} }
],
"kind": "var"
} }
], ]
"directives": []
} }
} }

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 6
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 7
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,120 @@
{
"type": "File",
"start": 0,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 10
}
},
"program": {
"type": "Program",
"start": 0,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 10
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 10
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 10
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 10
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 6,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 8
}
},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
]
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,120 @@
{
"type": "File",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
},
"program": {
"type": "Program",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 11
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 6,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 8
}
},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
]
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,122 @@
{
"type": "File",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"program": {
"type": "Program",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 13
}
},
"elements": [
null,
null,
{
"type": "NumericLiteral",
"start": 9,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 11
}
},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
]
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,160 @@
{
"type": "File",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"program": {
"type": "Program",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 16
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 10
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
{
"type": "NumericLiteral",
"start": 12,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
]
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,161 @@
{
"type": "File",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"program": {
"type": "Program",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "ArrayExpression",
"start": 4,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 17
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 10
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
null,
{
"type": "NumericLiteral",
"start": 13,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 14
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
]
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"program": {
"type": "Program",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 8
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
},
"identifierName": "日本語"
},
"name": "日本語"
},
"right": {
"type": "ArrayExpression",
"start": 6,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 8
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1 @@
T\u203F = []

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"program": {
"type": "Program",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
},
"identifierName": "T‿"
},
"name": "T‿"
},
"right": {
"type": "ArrayExpression",
"start": 10,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 12
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1 @@
T\u200C = []

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"program": {
"type": "Program",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
},
"identifierName": "T"
},
"name": "T"
},
"right": {
"type": "ArrayExpression",
"start": 10,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 12
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1 @@
T\u200D = []

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"program": {
"type": "Program",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
},
"identifierName": "T"
},
"name": "T"
},
"right": {
"type": "ArrayExpression",
"start": 10,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 12
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1 @@
\u2163\u2161 = []

View File

@ -0,0 +1,99 @@
{
"type": "File",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"program": {
"type": "Program",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 17
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "ⅣⅡ"
},
"name": "ⅣⅡ"
},
"right": {
"type": "ArrayExpression",
"start": 15,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 17
}
},
"elements": []
}
}
}
],
"directives": []
}
}

View File

@ -0,0 +1 @@
\u2163\u2161\u200A=\u2009[]

View File

@ -0,0 +1,3 @@
{
"throws": "Invalid Unicode escape (1:12)"
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"extra": {
"rawValue": 9.5,
"raw": "09.5"
},
"value": 9.5
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 2,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 2
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 2,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 2
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 2,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 2
}
},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"extra": {
"rawValue": 5,
"raw": "5"
},
"value": 5
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"program": {
"type": "Program",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"extra": {
"rawValue": 0.14,
"raw": ".14"
},
"value": 0.14
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 7
}
},
"extra": {
"rawValue": 3.14159,
"raw": "3.14159"
},
"value": 3.14159
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 14
}
},
"program": {
"type": "Program",
"start": 0,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 14
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 14
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 14
}
},
"extra": {
"rawValue": 6.02214179e+23,
"raw": "6.02214179e+23"
},
"value": 6.02214179e+23
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 15
}
},
"program": {
"type": "Program",
"start": 0,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 15
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 15
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 15
}
},
"extra": {
"rawValue": 1.49241783e-10,
"raw": "1.492417830e-10"
},
"value": 1.49241783e-10
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"program": {
"type": "Program",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"extra": {
"rawValue": 0,
"raw": "0x0"
},
"value": 0
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 3
}
},
"extra": {
"rawValue": 0,
"raw": "0x0"
},
"value": 0
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"extra": {
"rawValue": 0,
"raw": "0e+100"
},
"value": 0
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
},
"extra": {
"rawValue": 0,
"raw": "0e+100"
},
"value": 0
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"extra": {
"rawValue": 2748,
"raw": "0xabc"
},
"value": 2748
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"extra": {
"rawValue": 3567,
"raw": "0xdef"
},
"value": 3567
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"extra": {
"rawValue": 26,
"raw": "0X1A"
},
"value": 26
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"extra": {
"rawValue": 16,
"raw": "0x10"
},
"value": 16
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
},
"extra": {
"rawValue": 256,
"raw": "0x100"
},
"value": 256
}
}
],
"directives": []
}
}

View File

@ -0,0 +1,70 @@
{
"type": "File",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"expression": {
"type": "NumericLiteral",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
}
},
"extra": {
"rawValue": 4,
"raw": "0X04"
},
"value": 4
}
}
],
"directives": []
}
}

Some files were not shown because too many files have changed in this diff Show More