mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
82ef06afb8
swc_babel_compat: - Optimize. swc: - Improve performance of comment storage.
123 lines
2.4 KiB
JSON
123 lines
2.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 39,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 0
|
|
}
|
|
},
|
|
"errors": [],
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 39,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 0
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"interpreter": {
|
|
"type": "InterpreterDirective",
|
|
"start": 0,
|
|
"end": 20,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 20
|
|
}
|
|
},
|
|
"value": " /usr/bin/env node"
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 22,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 16
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 28,
|
|
"end": 37,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 28,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 7
|
|
},
|
|
"identifierName": "x"
|
|
},
|
|
"name": "x"
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"start": 32,
|
|
"end": 37,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "abc",
|
|
"raw": "\"abc\""
|
|
},
|
|
"value": "abc"
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": []
|
|
}
|