1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-03 06:22:34 +02:00
TableFilter/docs/ast/source/array.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

3152 lines
78 KiB
JSON

{
"type": "File",
"start": 0,
"end": 546,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 23,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 546,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 23,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 28,
"end": 63,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 36,
"end": 45,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 36,
"end": 45,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 17
},
"identifierName": "matchCase"
},
"name": "matchCase",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 36,
"end": 45,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 17
},
"identifierName": "matchCase"
},
"name": "matchCase"
},
"leadingComments": null
}
],
"source": {
"type": "StringLiteral",
"start": 52,
"end": 62,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 34
}
},
"extra": {
"rawValue": "./string",
"raw": "'./string'"
},
"value": "./string"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Array utilities\n ",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ",
"start": 65,
"end": 284,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 13,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 285,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 22,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 292,
"end": 545,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 22,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 298,
"end": 544,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 22,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 298,
"end": 301,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 16
},
"identifierName": "has"
},
"name": "has",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 304,
"end": 544,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 22,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 298,
"end": 301,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 16
},
"identifierName": "has"
},
"name": "has",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 305,
"end": 308,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 23
},
"identifierName": "arr"
},
"name": "arr"
},
{
"type": "Identifier",
"start": 310,
"end": 313,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 28
},
"identifierName": "val"
},
"name": "val"
},
{
"type": "Identifier",
"start": 315,
"end": 328,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 43
},
"identifierName": "caseSensitive"
},
"name": "caseSensitive"
}
],
"body": {
"type": "BlockStatement",
"start": 333,
"end": 544,
"loc": {
"start": {
"line": 14,
"column": 48
},
"end": {
"line": 22,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 339,
"end": 374,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 343,
"end": 373,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 343,
"end": 348,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
},
"identifierName": "sCase"
},
"name": "sCase"
},
"init": {
"type": "CallExpression",
"start": 351,
"end": 373,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 38
}
},
"callee": {
"type": "Identifier",
"start": 351,
"end": 358,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 23
},
"identifierName": "Boolean"
},
"name": "Boolean"
},
"arguments": [
{
"type": "Identifier",
"start": 359,
"end": 372,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 37
},
"identifierName": "caseSensitive"
},
"name": "caseSensitive"
}
]
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 379,
"end": 524,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
},
"init": {
"type": "VariableDeclaration",
"start": 384,
"end": 409,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 388,
"end": 393,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 388,
"end": 389,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 14
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 392,
"end": 393,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "VariableDeclarator",
"start": 395,
"end": 409,
"loc": {
"start": {
"line": 16,
"column": 20
},
"end": {
"line": 16,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 395,
"end": 396,
"loc": {
"start": {
"line": 16,
"column": 20
},
"end": {
"line": 16,
"column": 21
},
"identifierName": "l"
},
"name": "l"
},
"init": {
"type": "MemberExpression",
"start": 399,
"end": 409,
"loc": {
"start": {
"line": 16,
"column": 24
},
"end": {
"line": 16,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 399,
"end": 402,
"loc": {
"start": {
"line": 16,
"column": 24
},
"end": {
"line": 16,
"column": 27
},
"identifierName": "arr"
},
"name": "arr"
},
"property": {
"type": "Identifier",
"start": 403,
"end": 409,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 34
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
}
],
"kind": "var"
},
"test": {
"type": "BinaryExpression",
"start": 411,
"end": 416,
"loc": {
"start": {
"line": 16,
"column": 36
},
"end": {
"line": 16,
"column": 41
}
},
"left": {
"type": "Identifier",
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 16,
"column": 36
},
"end": {
"line": 16,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 41
},
"identifierName": "l"
},
"name": "l"
}
},
"update": {
"type": "UpdateExpression",
"start": 418,
"end": 421,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 46
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 44
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 423,
"end": 524,
"loc": {
"start": {
"line": 16,
"column": 48
},
"end": {
"line": 20,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 433,
"end": 518,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 437,
"end": 480,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 55
}
},
"left": {
"type": "CallExpression",
"start": 437,
"end": 472,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 437,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 21
},
"identifierName": "matchCase"
},
"name": "matchCase"
},
"arguments": [
{
"type": "CallExpression",
"start": 447,
"end": 464,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 447,
"end": 462,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 447,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 447,
"end": 450,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 25
},
"identifierName": "arr"
},
"name": "arr"
},
"property": {
"type": "Identifier",
"start": 451,
"end": 452,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 27
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 454,
"end": 462,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 37
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"arguments": []
},
{
"type": "Identifier",
"start": 466,
"end": 471,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 17,
"column": 46
},
"identifierName": "sCase"
},
"name": "sCase"
}
]
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 477,
"end": 480,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 17,
"column": 55
},
"identifierName": "val"
},
"name": "val"
}
},
"consequent": {
"type": "BlockStatement",
"start": 482,
"end": 518,
"loc": {
"start": {
"line": 17,
"column": 57
},
"end": {
"line": 19,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 496,
"end": 508,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 503,
"end": 507,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 23
}
},
"value": true
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 529,
"end": 542,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 17
}
},
"argument": {
"type": "BooleanLiteral",
"start": 536,
"end": 541,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
}
},
"value": false
}
}
],
"directives": []
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ",
"start": 65,
"end": 284,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 13,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ",
"start": 65,
"end": 284,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 13,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Array utilities\n ",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ",
"start": 65,
"end": 284,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 13,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Array utilities\n ",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
},
{
"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": 28,
"end": 34,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 35,
"end": 36,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matchCase",
"start": 36,
"end": 45,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 47,
"end": 51,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./string",
"start": 52,
"end": 62,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 62,
"end": 63,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ",
"start": 65,
"end": 284,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 13,
"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": 285,
"end": 291,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"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": 292,
"end": 297,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 298,
"end": 301,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 304,
"end": 305,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "arr",
"start": 305,
"end": 308,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 308,
"end": 309,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 310,
"end": 313,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 313,
"end": 314,
"loc": {
"start": {
"line": 14,
"column": 28
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "caseSensitive",
"start": 315,
"end": 328,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 328,
"end": 329,
"loc": {
"start": {
"line": 14,
"column": 43
},
"end": {
"line": 14,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 330,
"end": 332,
"loc": {
"start": {
"line": 14,
"column": 45
},
"end": {
"line": 14,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 14,
"column": 48
},
"end": {
"line": 14,
"column": 49
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 339,
"end": 342,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sCase",
"start": 343,
"end": 348,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 349,
"end": 350,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Boolean",
"start": 351,
"end": 358,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 15,
"column": 23
},
"end": {
"line": 15,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "caseSensitive",
"start": 359,
"end": 372,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 15,
"column": 37
},
"end": {
"line": 15,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 373,
"end": 374,
"loc": {
"start": {
"line": 15,
"column": 38
},
"end": {
"line": 15,
"column": 39
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 379,
"end": 382,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 383,
"end": 384,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 9
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 384,
"end": 387,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 388,
"end": 389,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 390,
"end": 391,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 392,
"end": 393,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 393,
"end": 394,
"loc": {
"start": {
"line": 16,
"column": 18
},
"end": {
"line": 16,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "l",
"start": 395,
"end": 396,
"loc": {
"start": {
"line": 16,
"column": 20
},
"end": {
"line": 16,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "arr",
"start": 399,
"end": 402,
"loc": {
"start": {
"line": 16,
"column": 24
},
"end": {
"line": 16,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 402,
"end": 403,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 16,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 403,
"end": 409,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 409,
"end": 410,
"loc": {
"start": {
"line": 16,
"column": 34
},
"end": {
"line": 16,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 16,
"column": 36
},
"end": {
"line": 16,
"column": 37
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 413,
"end": 414,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "l",
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 416,
"end": 417,
"loc": {
"start": {
"line": 16,
"column": 41
},
"end": {
"line": 16,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 419,
"end": 421,
"loc": {
"start": {
"line": 16,
"column": 44
},
"end": {
"line": 16,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 421,
"end": 422,
"loc": {
"start": {
"line": 16,
"column": 46
},
"end": {
"line": 16,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 423,
"end": 424,
"loc": {
"start": {
"line": 16,
"column": 48
},
"end": {
"line": 16,
"column": 49
}
}
},
{
"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": 433,
"end": 435,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 436,
"end": 437,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matchCase",
"start": 437,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 17,
"column": 21
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "arr",
"start": 447,
"end": 450,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 450,
"end": 451,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 451,
"end": 452,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 453,
"end": 454,
"loc": {
"start": {
"line": 17,
"column": 28
},
"end": {
"line": 17,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toString",
"start": 454,
"end": 462,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 17,
"column": 38
},
"end": {
"line": 17,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 464,
"end": 465,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sCase",
"start": 466,
"end": 471,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 17,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 471,
"end": 472,
"loc": {
"start": {
"line": 17,
"column": 46
},
"end": {
"line": 17,
"column": 47
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 473,
"end": 476,
"loc": {
"start": {
"line": 17,
"column": 48
},
"end": {
"line": 17,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 477,
"end": 480,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 17,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 480,
"end": 481,
"loc": {
"start": {
"line": 17,
"column": 55
},
"end": {
"line": 17,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 482,
"end": 483,
"loc": {
"start": {
"line": 17,
"column": 57
},
"end": {
"line": 17,
"column": 58
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 496,
"end": 502,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 503,
"end": 507,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 507,
"end": 508,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 517,
"end": 518,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 529,
"end": 535,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 536,
"end": 541,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 543,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 544,
"end": 545,
"loc": {
"start": {
"line": 22,
"column": 1
},
"end": {
"line": 22,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 546,
"end": 546,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 0
}
}
}
]
}