Fix: major revision to valid and invalid numeric literal separator "sibling" characters (#745)

This commit is contained in:
Rick Waldron
2017-09-28 23:12:46 -04:00
committed by Henry Zhu
parent 17be9360af
commit 18c6b4e3e9
289 changed files with 589 additions and 84 deletions

View File

@@ -0,0 +1,69 @@
{
"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",
"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,
"raw": "0b0_1_1"
},
"value": 3
}
}
],
"directives": []
}
}