node/test/fixtures/test426/decoding/scopes/scope-variables.map.golden
Rich Trott 83ba6b107a
test: update test426 fixtures
Update test426 fixtures for source map tests.

Refs: https://github.com/tc39/source-map-tests
PR-URL: https://github.com/nodejs/node/pull/60982
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2025-12-09 14:38:02 +00:00

86 lines
No EOL
1.9 KiB
Text

{
"file": "scope-variables.js",
"mappings": [],
"sources": [
{
"url": "original_0.js",
"content": null,
"ignored": false,
"scope": {
"start": {
"line": 0,
"column": 0
},
"end": {
"line": 31,
"column": 0
},
"name": null,
"kind": "global",
"isStackFrame": false,
"variables": [
"GLOBAL_CONSTANT1",
"GLOBAL_CONSTANT2"
],
"children": [
{
"start": {
"line": 10,
"column": 5
},
"end": {
"line": 19,
"column": 1
},
"name": "toplevelFunction1",
"kind": "function",
"isStackFrame": true,
"variables": [
"functionScopedVariable1",
"functionScopedVariable2",
"functionScopedVariable3"
],
"children": []
},
{
"start": {
"line": 25,
"column": 5
},
"end": {
"line": 30,
"column": 1
},
"name": "toplevelFunction2",
"kind": "function",
"isStackFrame": true,
"variables": [
"functionScopedVariable1"
],
"children": [
{
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 29,
"column": 5
},
"name": null,
"kind": "block",
"isStackFrame": false,
"variables": [
"blockScopedVariable1",
"blockScopedVariable2"
],
"children": []
}
]
}
]
}
}
],
"ranges": []
}