1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-03 14:32:21 +02:00
TableFilter/docs/ast/source/extensions/sort/sort.js.json
koalyptus 4481fbe361 publish Docs to gh-pages (auto)
branch:       master
SHA:          c7d6de72f7
range SHA:    81f31a3106fb...c7d6de72f785
build id:     375208741
build number: 1103
2018-05-05 08:21:30 +00:00

1211 lines
25 KiB
JSON

{
"type": "File",
"start": 0,
"end": 204,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 9,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 204,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 9,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 58
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 27
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 27
},
"identifierName": "AdapterSortableTable"
},
"name": "AdapterSortableTable"
}
}
],
"source": {
"type": "StringLiteral",
"start": 33,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 57
}
},
"extra": {
"rawValue": "./adapterSortabletable",
"raw": "'./adapterSortabletable'"
},
"value": "./adapterSortabletable"
}
},
{
"type": "ImportDeclaration",
"start": 59,
"end": 91,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 32
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"local": {
"type": "Identifier",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "root"
},
"name": "root"
}
}
],
"source": {
"type": "StringLiteral",
"start": 78,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 31
}
},
"extra": {
"rawValue": "../../root",
"raw": "'../../root'"
},
"value": "../../root"
}
},
{
"type": "IfStatement",
"start": 93,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 6,
"column": 1
}
},
"test": {
"type": "UnaryExpression",
"start": 97,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 23
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 98,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 5
},
"end": {
"line": 4,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 98,
"end": 102,
"loc": {
"start": {
"line": 4,
"column": 5
},
"end": {
"line": 4,
"column": 9
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 103,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 10
},
"end": {
"line": 4,
"column": 23
},
"identifierName": "SortableTable"
},
"name": "SortableTable"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 118,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 6,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 124,
"end": 163,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 124,
"end": 162,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 124,
"end": 131,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 11
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 132,
"end": 161,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 41
}
},
"extra": {
"rawValue": "script-loader!sortabletable",
"raw": "'script-loader!sortabletable'"
},
"value": "script-loader!sortabletable"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExportDefaultDeclaration",
"start": 167,
"end": 203,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 36
}
},
"declaration": {
"type": "Identifier",
"start": 182,
"end": 202,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 35
},
"identifierName": "AdapterSortableTable"
},
"name": "AdapterSortableTable",
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "AdapterSortableTable",
"start": 7,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 28,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./adapterSortabletable",
"start": 33,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 57
},
"end": {
"line": 1,
"column": 58
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 59,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 66,
"end": 67,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 71,
"end": 72,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 73,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../root",
"start": 78,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 90,
"end": 91,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 93,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 2
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 96,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 3
},
"end": {
"line": 4,
"column": 4
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 98,
"end": 102,
"loc": {
"start": {
"line": 4,
"column": 5
},
"end": {
"line": 4,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SortableTable",
"start": 103,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 10
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 118,
"end": 119,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "require",
"start": 124,
"end": 131,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "script-loader!sortabletable",
"start": 132,
"end": 161,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 5,
"column": 41
},
"end": {
"line": 5,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 162,
"end": 163,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 167,
"end": 173,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 174,
"end": 181,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "AdapterSortableTable",
"start": 182,
"end": 202,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 8,
"column": 35
},
"end": {
"line": 8,
"column": 36
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 204,
"end": 204,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 0
}
}
}
]
}