mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-15 21:06:44 +02:00
1283 lines
44 KiB
JSON
1283 lines
44 KiB
JSON
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportDefaultSpecifier",
|
|
"local": {
|
|
"type": "Identifier",
|
|
"name": "Str",
|
|
"range": [
|
|
36,
|
|
39
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
36,
|
|
39
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "Literal",
|
|
"value": "./string",
|
|
"raw": "'./string'",
|
|
"range": [
|
|
45,
|
|
55
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
29,
|
|
56
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 27
|
|
}
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "Block",
|
|
"value": "*\r\n * Misc helpers\r\n ",
|
|
"range": [
|
|
0,
|
|
25
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"declaration": {
|
|
"type": "ObjectExpression",
|
|
"properties": [
|
|
{
|
|
"type": "Property",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"name": "removeNbFormat",
|
|
"range": [
|
|
82,
|
|
96
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"value": {
|
|
"type": "FunctionExpression",
|
|
"id": null,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "data",
|
|
"range": [
|
|
97,
|
|
101
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"name": "format",
|
|
"range": [
|
|
103,
|
|
109
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 31
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"name": "data",
|
|
"range": [
|
|
125,
|
|
129
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
"prefix": true,
|
|
"range": [
|
|
124,
|
|
129
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"argument": null,
|
|
"range": [
|
|
145,
|
|
152
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 19
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
130,
|
|
163
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
"alternate": null,
|
|
"range": [
|
|
121,
|
|
163
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"name": "format",
|
|
"range": [
|
|
177,
|
|
183
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"prefix": true,
|
|
"range": [
|
|
176,
|
|
183
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "format",
|
|
"range": [
|
|
199,
|
|
205
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Literal",
|
|
"value": "us",
|
|
"raw": "'us'",
|
|
"range": [
|
|
208,
|
|
212
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
199,
|
|
212
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
199,
|
|
213
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 13,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 13,
|
|
"column": 26
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
184,
|
|
224
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
"alternate": null,
|
|
"range": [
|
|
173,
|
|
224
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"id": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
238,
|
|
239
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "Identifier",
|
|
"name": "data",
|
|
"range": [
|
|
242,
|
|
246
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
238,
|
|
246
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 20
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "let",
|
|
"range": [
|
|
234,
|
|
247
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"operator": "===",
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"computed": false,
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "Str",
|
|
"range": [
|
|
260,
|
|
263
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "lower",
|
|
"range": [
|
|
264,
|
|
269
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
260,
|
|
269
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "format",
|
|
"range": [
|
|
270,
|
|
276
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 27
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
260,
|
|
277
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Literal",
|
|
"value": "us",
|
|
"raw": "'us'",
|
|
"range": [
|
|
282,
|
|
286
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
260,
|
|
286
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
302,
|
|
303
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "UnaryExpression",
|
|
"operator": "+",
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"computed": false,
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
307,
|
|
308
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "replace",
|
|
"range": [
|
|
309,
|
|
316
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
307,
|
|
316
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Literal",
|
|
"value": {},
|
|
"raw": "/[^\\d\\.-]/g",
|
|
"regex": {
|
|
"pattern": "[^\\d\\.-]",
|
|
"flags": "g"
|
|
},
|
|
"range": [
|
|
317,
|
|
328
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"value": "",
|
|
"raw": "''",
|
|
"range": [
|
|
329,
|
|
331
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 41
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
307,
|
|
332
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"prefix": true,
|
|
"range": [
|
|
305,
|
|
332
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
302,
|
|
332
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
302,
|
|
333
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 17,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 17,
|
|
"column": 43
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
287,
|
|
344
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
365,
|
|
366
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "UnaryExpression",
|
|
"operator": "+",
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"computed": false,
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"computed": false,
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
370,
|
|
371
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "replace",
|
|
"range": [
|
|
372,
|
|
379
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
370,
|
|
379
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Literal",
|
|
"value": {},
|
|
"raw": "/[^\\d\\,-]/g",
|
|
"regex": {
|
|
"pattern": "[^\\d\\,-]",
|
|
"flags": "g"
|
|
},
|
|
"range": [
|
|
380,
|
|
391
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"value": "",
|
|
"raw": "''",
|
|
"range": [
|
|
392,
|
|
394
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 41
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
370,
|
|
395
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "replace",
|
|
"range": [
|
|
396,
|
|
403
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
370,
|
|
403
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Literal",
|
|
"value": ",",
|
|
"raw": "','",
|
|
"range": [
|
|
404,
|
|
407
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"value": ".",
|
|
"raw": "'.'",
|
|
"range": [
|
|
408,
|
|
411
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 58
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
370,
|
|
412
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
"prefix": true,
|
|
"range": [
|
|
368,
|
|
412
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
365,
|
|
412
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
365,
|
|
413
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 60
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
350,
|
|
424
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
257,
|
|
424
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 20,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"name": "n",
|
|
"range": [
|
|
441,
|
|
442
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
"range": [
|
|
434,
|
|
443
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 17
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
110,
|
|
450
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
"generator": false,
|
|
"expression": false,
|
|
"range": [
|
|
96,
|
|
450
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
"kind": "init",
|
|
"method": true,
|
|
"shorthand": false,
|
|
"computed": false,
|
|
"range": [
|
|
82,
|
|
450
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"range": [
|
|
75,
|
|
453
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 1
|
|
}
|
|
},
|
|
"leadingComments": [],
|
|
"trailingComments": []
|
|
},
|
|
"range": [
|
|
60,
|
|
454
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 2
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sourceType": "module",
|
|
"range": [
|
|
29,
|
|
454
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 2
|
|
}
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "Block",
|
|
"value": "*\r\n * Misc helpers\r\n ",
|
|
"range": [
|
|
0,
|
|
25
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 3
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |