{ "type": "root", "children": [ { "type": "heading", "depth": 1, "children": [ { "type": "text", "value": "--seed--", "position": { "start": { "line": 1, "column": 3, "offset": 2 }, "end": { "line": 1, "column": 11, "offset": 10 }, "indent": [] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 11, "offset": 10 }, "indent": [] } }, { "type": "heading", "depth": 2, "children": [ { "type": "text", "value": "--before-user-code--", "position": { "start": { "line": 3, "column": 4, "offset": 15 }, "end": { "line": 3, "column": 24, "offset": 35 }, "indent": [] } } ], "position": { "start": { "line": 3, "column": 1, "offset": 12 }, "end": { "line": 3, "column": 24, "offset": 35 }, "indent": [] } }, { "type": "code", "lang": "jsx", "meta": null, "value": "function setup() {}", "position": { "start": { "line": 5, "column": 1, "offset": 37 }, "end": { "line": 7, "column": 4, "offset": 67 }, "indent": [1, 1] } }, { "type": "heading", "depth": 2, "children": [ { "type": "text", "value": "--seed-contents--", "position": { "start": { "line": 9, "column": 4, "offset": 72 }, "end": { "line": 9, "column": 21, "offset": 89 }, "indent": [] } } ], "position": { "start": { "line": 9, "column": 1, "offset": 69 }, "end": { "line": 9, "column": 21, "offset": 89 }, "indent": [] } }, { "type": "code", "lang": "jsx", "meta": null, "value": "var x = 'y';\n\n/* comment */\nconst Button = () => {\n return ;\n};", "position": { "start": { "line": 11, "column": 1, "offset": 91 }, "end": { "line": 18, "column": 4, "offset": 214 }, "indent": [1, 1, 1, 1, 1, 1, 1] } }, { "type": "heading", "depth": 2, "children": [ { "type": "text", "value": "--after-user-code--", "position": { "start": { "line": 20, "column": 4, "offset": 219 }, "end": { "line": 20, "column": 23, "offset": 238 }, "indent": [] } } ], "position": { "start": { "line": 20, "column": 1, "offset": 216 }, "end": { "line": 20, "column": 23, "offset": 238 }, "indent": [] } }, { "type": "code", "lang": "jsx", "meta": null, "value": "function teardown(params) {\n // after\n}", "position": { "start": { "line": 22, "column": 1, "offset": 240 }, "end": { "line": 26, "column": 4, "offset": 291 }, "indent": [1, 1, 1, 1] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 27, "column": 1, "offset": 292 } } }