{ "type": "Program", "body": [ { "type": "ImportDeclaration", "specifiers": [ { "type": "ImportDefaultSpecifier", "local": { "type": "Identifier", "name": "AdapterSortableTable", "range": [ 42, 62 ], "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 27 } } }, "range": [ 42, 62 ], "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 27 } } } ], "source": { "type": "Literal", "value": "./adapterSortabletable", "raw": "'./adapterSortabletable'", "range": [ 68, 92 ], "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 57 } } }, "range": [ 35, 93 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 58 } }, "leadingComments": [ { "type": "Line", "value": " import 'script!sortabletable';", "range": [ 0, 33 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 33 } } } ] }, { "type": "IfStatement", "test": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "window", "range": [ 101, 107 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 10 } } }, "property": { "type": "Identifier", "name": "SortableTable", "range": [ 108, 121 ], "loc": { "start": { "line": 4, "column": 11 }, "end": { "line": 4, "column": 24 } } }, "range": [ 101, 121 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 24 } } }, "prefix": true, "range": [ 100, 121 ], "loc": { "start": { "line": 4, "column": 3 }, "end": { "line": 4, "column": 24 } } }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 129, 136 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 11 } } }, "arguments": [ { "type": "Literal", "value": "script!sortabletable", "raw": "'script!sortabletable'", "range": [ 137, 159 ], "loc": { "start": { "line": 5, "column": 12 }, "end": { "line": 5, "column": 34 } } } ], "range": [ 129, 160 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 35 } } }, "range": [ 129, 161 ], "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 36 } } } ], "range": [ 122, 164 ], "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 6, "column": 1 } } }, "alternate": null, "range": [ 97, 164 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 1 } } }, { "type": "ExportDefaultDeclaration", "declaration": { "type": "Identifier", "name": "AdapterSortableTable", "range": [ 183, 203 ], "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 35 } }, "leadingComments": [], "trailingComments": [] }, "range": [ 168, 204 ], "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 36 } } } ], "sourceType": "module", "range": [ 35, 204 ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 8, "column": 36 } }, "comments": [ { "type": "Line", "value": " import 'script!sortabletable';", "range": [ 0, 33 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 33 } } } ] }