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/root.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

1622 lines
39 KiB
JSON

{
"type": "File",
"start": 0,
"end": 235,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 7,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 235,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 7,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ExportNamedDeclaration",
"start": 71,
"end": 234,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 6,
"column": 9
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 78,
"end": 234,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 6,
"column": 9
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 84,
"end": 233,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 6,
"column": 8
}
},
"id": {
"type": "Identifier",
"start": 84,
"end": 88,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "root"
},
"name": "root",
"leadingComments": null
},
"init": {
"type": "LogicalExpression",
"start": 91,
"end": 233,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 6,
"column": 8
}
},
"left": {
"type": "LogicalExpression",
"start": 91,
"end": 221,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 5,
"column": 70
}
},
"left": {
"type": "LogicalExpression",
"start": 92,
"end": 146,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 75
}
},
"left": {
"type": "LogicalExpression",
"start": 92,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 67
}
},
"left": {
"type": "BinaryExpression",
"start": 92,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 45
}
},
"left": {
"type": "UnaryExpression",
"start": 92,
"end": 103,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 32
}
},
"operator": "typeof",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 99,
"end": 103,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 32
},
"identifierName": "self"
},
"name": "self"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 108,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 37
},
"end": {
"line": 4,
"column": 45
}
},
"extra": {
"rawValue": "object",
"raw": "'object'"
},
"value": "object"
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 120,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 49
},
"end": {
"line": 4,
"column": 67
}
},
"left": {
"type": "MemberExpression",
"start": 120,
"end": 129,
"loc": {
"start": {
"line": 4,
"column": 49
},
"end": {
"line": 4,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 120,
"end": 124,
"loc": {
"start": {
"line": 4,
"column": 49
},
"end": {
"line": 4,
"column": 53
},
"identifierName": "self"
},
"name": "self"
},
"property": {
"type": "Identifier",
"start": 125,
"end": 129,
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 58
},
"identifierName": "self"
},
"name": "self"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 134,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 63
},
"end": {
"line": 4,
"column": 67
},
"identifierName": "self"
},
"name": "self"
}
}
},
"operator": "&&",
"right": {
"type": "Identifier",
"start": 142,
"end": 146,
"loc": {
"start": {
"line": 4,
"column": 71
},
"end": {
"line": 4,
"column": 75
},
"identifierName": "self"
},
"name": "self"
},
"extra": {
"parenthesized": true,
"parenStart": 91
}
},
"operator": "||",
"right": {
"type": "LogicalExpression",
"start": 156,
"end": 220,
"loc": {
"start": {
"line": 5,
"column": 5
},
"end": {
"line": 5,
"column": 69
}
},
"left": {
"type": "LogicalExpression",
"start": 156,
"end": 210,
"loc": {
"start": {
"line": 5,
"column": 5
},
"end": {
"line": 5,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
"start": 156,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 5
},
"end": {
"line": 5,
"column": 31
}
},
"left": {
"type": "UnaryExpression",
"start": 156,
"end": 169,
"loc": {
"start": {
"line": 5,
"column": 5
},
"end": {
"line": 5,
"column": 18
}
},
"operator": "typeof",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 163,
"end": 169,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 18
},
"identifierName": "global"
},
"name": "global"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 174,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 31
}
},
"extra": {
"rawValue": "object",
"raw": "'object'"
},
"value": "object"
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 186,
"end": 210,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 186,
"end": 199,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 186,
"end": 192,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 41
},
"identifierName": "global"
},
"name": "global"
},
"property": {
"type": "Identifier",
"start": 193,
"end": 199,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 48
},
"identifierName": "global"
},
"name": "global"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 204,
"end": 210,
"loc": {
"start": {
"line": 5,
"column": 53
},
"end": {
"line": 5,
"column": 59
},
"identifierName": "global"
},
"name": "global"
}
}
},
"operator": "&&",
"right": {
"type": "Identifier",
"start": 214,
"end": 220,
"loc": {
"start": {
"line": 5,
"column": 63
},
"end": {
"line": 5,
"column": 69
},
"identifierName": "global"
},
"name": "global"
},
"extra": {
"parenthesized": true,
"parenStart": 155
}
}
},
"operator": "||",
"right": {
"type": "ThisExpression",
"start": 229,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Export window or global object depending on the environment\n ",
"start": 0,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Export window or global object depending on the environment\n ",
"start": 0,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Export window or global object depending on the environment\n ",
"start": 0,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Export window or global object depending on the environment\n ",
"start": 0,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
},
{
"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": 71,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 78,
"end": 83,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 84,
"end": 88,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 89,
"end": 90,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 91,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "typeof",
"keyword": "typeof",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "typeof",
"start": 92,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "self",
"start": 99,
"end": 103,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 104,
"end": 107,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "object",
"start": 108,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 37
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 117,
"end": 119,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "self",
"start": 120,
"end": 124,
"loc": {
"start": {
"line": 4,
"column": 49
},
"end": {
"line": 4,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "self",
"start": 125,
"end": 129,
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 58
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 130,
"end": 133,
"loc": {
"start": {
"line": 4,
"column": 59
},
"end": {
"line": 4,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "self",
"start": 134,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 63
},
"end": {
"line": 4,
"column": 67
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 139,
"end": 141,
"loc": {
"start": {
"line": 4,
"column": 68
},
"end": {
"line": 4,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "self",
"start": 142,
"end": 146,
"loc": {
"start": {
"line": 4,
"column": 71
},
"end": {
"line": 4,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 75
},
"end": {
"line": 4,
"column": 76
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 148,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 77
},
"end": {
"line": 4,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 155,
"end": 156,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 5
}
}
},
{
"type": {
"label": "typeof",
"keyword": "typeof",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "typeof",
"start": 156,
"end": 162,
"loc": {
"start": {
"line": 5,
"column": 5
},
"end": {
"line": 5,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "global",
"start": 163,
"end": 169,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 170,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "object",
"start": 174,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 183,
"end": 185,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "global",
"start": 186,
"end": 192,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 5,
"column": 41
},
"end": {
"line": 5,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "global",
"start": 193,
"end": 199,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 48
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 200,
"end": 203,
"loc": {
"start": {
"line": 5,
"column": 49
},
"end": {
"line": 5,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "global",
"start": 204,
"end": 210,
"loc": {
"start": {
"line": 5,
"column": 53
},
"end": {
"line": 5,
"column": 59
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 211,
"end": 213,
"loc": {
"start": {
"line": 5,
"column": 60
},
"end": {
"line": 5,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "global",
"start": 214,
"end": 220,
"loc": {
"start": {
"line": 5,
"column": 63
},
"end": {
"line": 5,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 220,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 69
},
"end": {
"line": 5,
"column": 70
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 222,
"end": 224,
"loc": {
"start": {
"line": 5,
"column": 71
},
"end": {
"line": 5,
"column": 73
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 229,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 235,
"end": 235,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 0
}
}
}
]
}