nashorn/test/script/nosecurity/parserapi.js.EXPECTED
changeset 29626 83f509969bee
parent 29539 b2a8fb583979
child 34974 94a13629c390
equal deleted inserted replaced
29625:c35ec1503bf0 29626:83f509969bee
  6187       "endPosition": "2865",
  6187       "endPosition": "2865",
  6188       "kind": "EXPRESSION_STATEMENT",
  6188       "kind": "EXPRESSION_STATEMENT",
  6189       "startPosition": "1972"
  6189       "startPosition": "1972"
  6190     },
  6190     },
  6191     {
  6191     {
  6192       "endPosition": "3598",
  6192       "endPosition": "3618",
  6193       "kind": "FUNCTION",
  6193       "kind": "FUNCTION",
  6194       "name": "processFiles",
  6194       "name": "processFiles",
  6195       "body": {
  6195       "body": {
  6196         "endPosition": "3555",
  6196         "endPosition": "3575",
  6197         "kind": "BLOCK",
  6197         "kind": "BLOCK",
  6198         "statements": [
  6198         "statements": [
  6199           {
  6199           {
  6200             "endPosition": "2938",
  6200             "endPosition": "2938",
  6201             "kind": "VARIABLE",
  6201             "kind": "VARIABLE",
  6333               "endPosition": "3058",
  6333               "endPosition": "3058",
  6334               "kind": "IDENTIFIER",
  6334               "kind": "IDENTIFIER",
  6335               "name": "files",
  6335               "name": "files",
  6336               "startPosition": "3053"
  6336               "startPosition": "3053"
  6337             },
  6337             },
  6338             "endPosition": "3555",
  6338             "endPosition": "3575",
  6339             "kind": "FOR_IN_LOOP",
  6339             "kind": "FOR_IN_LOOP",
  6340             "forEach": "true",
  6340             "forEach": "true",
  6341             "variable": {
  6341             "variable": {
  6342               "endPosition": "3049",
  6342               "endPosition": "3049",
  6343               "kind": "IDENTIFIER",
  6343               "kind": "IDENTIFIER",
  6344               "name": "file",
  6344               "name": "file",
  6345               "startPosition": "3045"
  6345               "startPosition": "3045"
  6346             },
  6346             },
  6347             "statement": {
  6347             "statement": {
  6348               "endPosition": "3555",
  6348               "endPosition": "3575",
  6349               "kind": "BLOCK",
  6349               "kind": "BLOCK",
  6350               "statements": [
  6350               "statements": [
  6351                 {
  6351                 {
  6352                   "condition": {
  6352                   "condition": {
  6353                     "endPosition": "3098",
  6353                     "endPosition": "3098",
  6378                         "startPosition": "3093"
  6378                         "startPosition": "3093"
  6379                       }
  6379                       }
  6380                     ],
  6380                     ],
  6381                     "startPosition": "3073"
  6381                     "startPosition": "3073"
  6382                   },
  6382                   },
  6383                   "endPosition": "3550",
  6383                   "endPosition": "3570",
  6384                   "kind": "IF",
  6384                   "kind": "IF",
  6385                   "startPosition": "3069",
  6385                   "startPosition": "3069",
  6386                   "thenStatement": {
  6386                   "thenStatement": {
  6387                     "endPosition": "3550",
  6387                     "endPosition": "3570",
  6388                     "kind": "BLOCK",
  6388                     "kind": "BLOCK",
  6389                     "statements": [
  6389                     "statements": [
  6390                       {
  6390                       {
  6391                         "endPosition": "3141",
  6391                         "endPosition": "3141",
  6392                         "kind": "VARIABLE",
  6392                         "kind": "VARIABLE",
  6434                           "kind": "NEW",
  6434                           "kind": "NEW",
  6435                           "startPosition": "3167"
  6435                           "startPosition": "3167"
  6436                         }
  6436                         }
  6437                       },
  6437                       },
  6438                       {
  6438                       {
  6439                         "endPosition": "3415",
  6439                         "endPosition": "3435",
  6440                         "kind": "VARIABLE",
  6440                         "kind": "VARIABLE",
  6441                         "name": "tree",
  6441                         "name": "tree",
  6442                         "startPosition": "3196",
  6442                         "startPosition": "3196",
  6443                         "initializer": {
  6443                         "initializer": {
  6444                           "endPosition": "3415",
  6444                           "endPosition": "3435",
  6445                           "kind": "FUNCTION_INVOCATION",
  6445                           "kind": "FUNCTION_INVOCATION",
  6446                           "functionSelect": {
  6446                           "functionSelect": {
  6447                             "identifier": "parse",
  6447                             "identifier": "parse",
  6448                             "expression": {
  6448                             "expression": {
  6449                               "endPosition": "3209",
  6449                               "endPosition": "3209",
  6498                             },
  6498                             },
  6499                             {
  6499                             {
  6500                               "endPosition": "3286",
  6500                               "endPosition": "3286",
  6501                               "kind": "FUNCTION_EXPRESSION",
  6501                               "kind": "FUNCTION_EXPRESSION",
  6502                               "body": {
  6502                               "body": {
  6503                                 "endPosition": "3397",
  6503                                 "endPosition": "3417",
  6504                                 "kind": "BLOCK",
  6504                                 "kind": "BLOCK",
  6505                                 "statements": [
  6505                                 "statements": [
  6506                                   {
  6506                                   {
  6507                                     "expression": {
  6507                                     "expression": {
  6508                                       "endPosition": "3365",
  6508                                       "endPosition": "3385",
  6509                                       "kind": "FUNCTION_INVOCATION",
  6509                                       "kind": "FUNCTION_INVOCATION",
  6510                                       "functionSelect": {
  6510                                       "functionSelect": {
  6511                                         "endPosition": "3312",
  6511                                         "endPosition": "3312",
  6512                                         "kind": "IDENTIFIER",
  6512                                         "kind": "IDENTIFIER",
  6513                                         "name": "print",
  6513                                         "name": "print",
  6514                                         "startPosition": "3307"
  6514                                         "startPosition": "3307"
  6515                                       },
  6515                                       },
  6516                                       "arguments": [
  6516                                       "arguments": [
  6517                                         {
  6517                                         {
  6518                                           "endPosition": "3364",
  6518                                           "endPosition": "3384",
  6519                                           "kind": "FUNCTION_INVOCATION",
  6519                                           "kind": "FUNCTION_INVOCATION",
  6520                                           "functionSelect": {
  6520                                           "functionSelect": {
  6521                                             "identifier": "stringify",
  6521                                             "identifier": "replace",
  6522                                             "expression": {
  6522                                             "expression": {
  6523                                               "endPosition": "3317",
  6523                                               "endPosition": "3364",
  6524                                               "kind": "IDENTIFIER",
  6524                                               "kind": "FUNCTION_INVOCATION",
  6525                                               "name": "JSON",
  6525                                               "functionSelect": {
       
  6526                                                 "identifier": "stringify",
       
  6527                                                 "expression": {
       
  6528                                                   "endPosition": "3317",
       
  6529                                                   "kind": "IDENTIFIER",
       
  6530                                                   "name": "JSON",
       
  6531                                                   "startPosition": "3313"
       
  6532                                                 },
       
  6533                                                 "endPosition": "3327",
       
  6534                                                 "kind": "MEMBER_SELECT",
       
  6535                                                 "startPosition": "3313"
       
  6536                                               },
       
  6537                                               "arguments": [
       
  6538                                                 {
       
  6539                                                   "endPosition": "3354",
       
  6540                                                   "kind": "FUNCTION_INVOCATION",
       
  6541                                                   "functionSelect": {
       
  6542                                                     "identifier": "convert",
       
  6543                                                     "expression": {
       
  6544                                                       "endPosition": "3334",
       
  6545                                                       "kind": "IDENTIFIER",
       
  6546                                                       "name": "parser",
       
  6547                                                       "startPosition": "3328"
       
  6548                                                     },
       
  6549                                                     "endPosition": "3342",
       
  6550                                                     "kind": "MEMBER_SELECT",
       
  6551                                                     "startPosition": "3328"
       
  6552                                                   },
       
  6553                                                   "arguments": [
       
  6554                                                     {
       
  6555                                                       "endPosition": "3353",
       
  6556                                                       "kind": "IDENTIFIER",
       
  6557                                                       "name": "diagnostic",
       
  6558                                                       "startPosition": "3343"
       
  6559                                                     }
       
  6560                                                   ],
       
  6561                                                   "startPosition": "3328"
       
  6562                                                 },
       
  6563                                                 {
       
  6564                                                   "endPosition": "3360",
       
  6565                                                   "kind": "NULL_LITERAL",
       
  6566                                                   "startPosition": "3356"
       
  6567                                                 },
       
  6568                                                 {
       
  6569                                                   "endPosition": "3363",
       
  6570                                                   "kind": "NUMBER_LITERAL",
       
  6571                                                   "value": "2",
       
  6572                                                   "startPosition": "3362"
       
  6573                                                 }
       
  6574                                               ],
  6526                                               "startPosition": "3313"
  6575                                               "startPosition": "3313"
  6527                                             },
  6576                                             },
  6528                                             "endPosition": "3327",
  6577                                             "endPosition": "3372",
  6529                                             "kind": "MEMBER_SELECT",
  6578                                             "kind": "MEMBER_SELECT",
  6530                                             "startPosition": "3313"
  6579                                             "startPosition": "3313"
  6531                                           },
  6580                                           },
  6532                                           "arguments": [
  6581                                           "arguments": [
  6533                                             {
  6582                                             {
  6534                                               "endPosition": "3354",
  6583                                               "endPosition": "3379",
  6535                                               "kind": "FUNCTION_INVOCATION",
  6584                                               "kind": "REGEXP_LITERAL",
  6536                                               "functionSelect": {
  6585                                               "options": "g",
  6537                                                 "identifier": "convert",
  6586                                               "pattern": "\\\\r",
  6538                                                 "expression": {
  6587                                               "startPosition": "3373"
  6539                                                   "endPosition": "3334",
       
  6540                                                   "kind": "IDENTIFIER",
       
  6541                                                   "name": "parser",
       
  6542                                                   "startPosition": "3328"
       
  6543                                                 },
       
  6544                                                 "endPosition": "3342",
       
  6545                                                 "kind": "MEMBER_SELECT",
       
  6546                                                 "startPosition": "3328"
       
  6547                                               },
       
  6548                                               "arguments": [
       
  6549                                                 {
       
  6550                                                   "endPosition": "3353",
       
  6551                                                   "kind": "IDENTIFIER",
       
  6552                                                   "name": "diagnostic",
       
  6553                                                   "startPosition": "3343"
       
  6554                                                 }
       
  6555                                               ],
       
  6556                                               "startPosition": "3328"
       
  6557                                             },
  6588                                             },
  6558                                             {
  6589                                             {
  6559                                               "endPosition": "3360",
  6590                                               "endPosition": "3382",
  6560                                               "kind": "NULL_LITERAL",
  6591                                               "kind": "STRING_LITERAL",
  6561                                               "startPosition": "3356"
  6592                                               "value": "",
  6562                                             },
  6593                                               "startPosition": "3382"
  6563                                             {
       
  6564                                               "endPosition": "3363",
       
  6565                                               "kind": "NUMBER_LITERAL",
       
  6566                                               "value": "2",
       
  6567                                               "startPosition": "3362"
       
  6568                                             }
  6594                                             }
  6569                                           ],
  6595                                           ],
  6570                                           "startPosition": "3313"
  6596                                           "startPosition": "3372"
  6571                                         }
  6597                                         }
  6572                                       ],
  6598                                       ],
  6573                                       "startPosition": "3307"
  6599                                       "startPosition": "3307"
  6574                                     },
  6600                                     },
  6575                                     "endPosition": "3365",
  6601                                     "endPosition": "3385",
  6576                                     "kind": "EXPRESSION_STATEMENT",
  6602                                     "kind": "EXPRESSION_STATEMENT",
  6577                                     "startPosition": "3307"
  6603                                     "startPosition": "3307"
  6578                                   },
  6604                                   },
  6579                                   {
  6605                                   {
  6580                                     "expression": {
  6606                                     "expression": {
  6581                                       "endPosition": "3396",
  6607                                       "endPosition": "3416",
  6582                                       "kind": "FUNCTION_INVOCATION",
  6608                                       "kind": "FUNCTION_INVOCATION",
  6583                                       "functionSelect": {
  6609                                       "functionSelect": {
  6584                                         "endPosition": "3391",
  6610                                         "endPosition": "3411",
  6585                                         "kind": "IDENTIFIER",
  6611                                         "kind": "IDENTIFIER",
  6586                                         "name": "print",
  6612                                         "name": "print",
  6587                                         "startPosition": "3386"
  6613                                         "startPosition": "3406"
  6588                                       },
  6614                                       },
  6589                                       "arguments": [
  6615                                       "arguments": [
  6590                                         {
  6616                                         {
  6591                                           "endPosition": "3394",
  6617                                           "endPosition": "3414",
  6592                                           "kind": "STRING_LITERAL",
  6618                                           "kind": "STRING_LITERAL",
  6593                                           "value": ",",
  6619                                           "value": ",",
  6594                                           "startPosition": "3393"
  6620                                           "startPosition": "3413"
  6595                                         }
  6621                                         }
  6596                                       ],
  6622                                       ],
  6597                                       "startPosition": "3386"
  6623                                       "startPosition": "3406"
  6598                                     },
  6624                                     },
  6599                                     "endPosition": "3396",
  6625                                     "endPosition": "3416",
  6600                                     "kind": "EXPRESSION_STATEMENT",
  6626                                     "kind": "EXPRESSION_STATEMENT",
  6601                                     "startPosition": "3386"
  6627                                     "startPosition": "3406"
  6602                                   }
  6628                                   }
  6603                                 ],
  6629                                 ],
  6604                                 "startPosition": "3286"
  6630                                 "startPosition": "3286"
  6605                               },
  6631                               },
  6606                               "strict": "false",
  6632                               "strict": "false",
  6619                         }
  6645                         }
  6620                       },
  6646                       },
  6621                       {
  6647                       {
  6622                         "condition": {
  6648                         "condition": {
  6623                           "leftOperand": {
  6649                           "leftOperand": {
  6624                             "endPosition": "3437",
  6650                             "endPosition": "3457",
  6625                             "kind": "IDENTIFIER",
  6651                             "kind": "IDENTIFIER",
  6626                             "name": "tree",
  6652                             "name": "tree",
  6627                             "startPosition": "3433"
  6653                             "startPosition": "3453"
  6628                           },
  6654                           },
  6629                           "endPosition": "3445",
  6655                           "endPosition": "3465",
  6630                           "kind": "NOT_EQUAL_TO",
  6656                           "kind": "NOT_EQUAL_TO",
  6631                           "rightOperand": {
  6657                           "rightOperand": {
  6632                             "endPosition": "3445",
  6658                             "endPosition": "3465",
  6633                             "kind": "NULL_LITERAL",
  6659                             "kind": "NULL_LITERAL",
  6634                             "startPosition": "3441"
  6660                             "startPosition": "3461"
  6635                           },
  6661                           },
  6636                           "startPosition": "3433"
  6662                           "startPosition": "3453"
  6637                         },
  6663                         },
  6638                         "endPosition": "3541",
  6664                         "endPosition": "3561",
  6639                         "kind": "IF",
  6665                         "kind": "IF",
  6640                         "startPosition": "3429",
  6666                         "startPosition": "3449",
  6641                         "thenStatement": {
  6667                         "thenStatement": {
  6642                           "endPosition": "3541",
  6668                           "endPosition": "3561",
  6643                           "kind": "BLOCK",
  6669                           "kind": "BLOCK",
  6644                           "statements": [
  6670                           "statements": [
  6645                             {
  6671                             {
  6646                               "expression": {
  6672                               "expression": {
  6647                                 "endPosition": "3500",
  6673                                 "endPosition": "3520",
  6648                                 "kind": "FUNCTION_INVOCATION",
  6674                                 "kind": "FUNCTION_INVOCATION",
  6649                                 "functionSelect": {
  6675                                 "functionSelect": {
  6650                                   "endPosition": "3469",
  6676                                   "endPosition": "3489",
  6651                                   "kind": "IDENTIFIER",
  6677                                   "kind": "IDENTIFIER",
  6652                                   "name": "print",
  6678                                   "name": "print",
  6653                                   "startPosition": "3464"
  6679                                   "startPosition": "3484"
  6654                                 },
  6680                                 },
  6655                                 "arguments": [
  6681                                 "arguments": [
  6656                                   {
  6682                                   {
  6657                                     "endPosition": "3499",
  6683                                     "endPosition": "3519",
  6658                                     "kind": "FUNCTION_INVOCATION",
  6684                                     "kind": "FUNCTION_INVOCATION",
  6659                                     "functionSelect": {
  6685                                     "functionSelect": {
  6660                                       "identifier": "stringify",
  6686                                       "identifier": "stringify",
  6661                                       "expression": {
  6687                                       "expression": {
  6662                                         "endPosition": "3474",
  6688                                         "endPosition": "3494",
  6663                                         "kind": "IDENTIFIER",
  6689                                         "kind": "IDENTIFIER",
  6664                                         "name": "JSON",
  6690                                         "name": "JSON",
  6665                                         "startPosition": "3470"
  6691                                         "startPosition": "3490"
  6666                                       },
  6692                                       },
  6667                                       "endPosition": "3484",
  6693                                       "endPosition": "3504",
  6668                                       "kind": "MEMBER_SELECT",
  6694                                       "kind": "MEMBER_SELECT",
  6669                                       "startPosition": "3470"
  6695                                       "startPosition": "3490"
  6670                                     },
  6696                                     },
  6671                                     "arguments": [
  6697                                     "arguments": [
  6672                                       {
  6698                                       {
  6673                                         "endPosition": "3489",
  6699                                         "endPosition": "3509",
  6674                                         "kind": "IDENTIFIER",
  6700                                         "kind": "IDENTIFIER",
  6675                                         "name": "tree",
  6701                                         "name": "tree",
  6676                                         "startPosition": "3485"
  6702                                         "startPosition": "3505"
  6677                                       },
  6703                                       },
  6678                                       {
  6704                                       {
  6679                                         "endPosition": "3495",
  6705                                         "endPosition": "3515",
  6680                                         "kind": "NULL_LITERAL",
  6706                                         "kind": "NULL_LITERAL",
  6681                                         "startPosition": "3491"
  6707                                         "startPosition": "3511"
  6682                                       },
  6708                                       },
  6683                                       {
  6709                                       {
  6684                                         "endPosition": "3498",
  6710                                         "endPosition": "3518",
  6685                                         "kind": "NUMBER_LITERAL",
  6711                                         "kind": "NUMBER_LITERAL",
  6686                                         "value": "2",
  6712                                         "value": "2",
  6687                                         "startPosition": "3497"
  6713                                         "startPosition": "3517"
  6688                                       }
  6714                                       }
  6689                                     ],
  6715                                     ],
  6690                                     "startPosition": "3470"
  6716                                     "startPosition": "3490"
  6691                                   }
  6717                                   }
  6692                                 ],
  6718                                 ],
  6693                                 "startPosition": "3464"
  6719                                 "startPosition": "3484"
  6694                               },
  6720                               },
  6695                               "endPosition": "3500",
  6721                               "endPosition": "3520",
  6696                               "kind": "EXPRESSION_STATEMENT",
  6722                               "kind": "EXPRESSION_STATEMENT",
  6697                               "startPosition": "3464"
  6723                               "startPosition": "3484"
  6698                             },
  6724                             },
  6699                             {
  6725                             {
  6700                               "expression": {
  6726                               "expression": {
  6701                                 "endPosition": "3527",
  6727                                 "endPosition": "3547",
  6702                                 "kind": "FUNCTION_INVOCATION",
  6728                                 "kind": "FUNCTION_INVOCATION",
  6703                                 "functionSelect": {
  6729                                 "functionSelect": {
  6704                                   "endPosition": "3522",
  6730                                   "endPosition": "3542",
  6705                                   "kind": "IDENTIFIER",
  6731                                   "kind": "IDENTIFIER",
  6706                                   "name": "print",
  6732                                   "name": "print",
  6707                                   "startPosition": "3517"
  6733                                   "startPosition": "3537"
  6708                                 },
  6734                                 },
  6709                                 "arguments": [
  6735                                 "arguments": [
  6710                                   {
  6736                                   {
  6711                                     "endPosition": "3525",
  6737                                     "endPosition": "3545",
  6712                                     "kind": "STRING_LITERAL",
  6738                                     "kind": "STRING_LITERAL",
  6713                                     "value": ",",
  6739                                     "value": ",",
  6714                                     "startPosition": "3524"
  6740                                     "startPosition": "3544"
  6715                                   }
  6741                                   }
  6716                                 ],
  6742                                 ],
  6717                                 "startPosition": "3517"
  6743                                 "startPosition": "3537"
  6718                               },
  6744                               },
  6719                               "endPosition": "3527",
  6745                               "endPosition": "3547",
  6720                               "kind": "EXPRESSION_STATEMENT",
  6746                               "kind": "EXPRESSION_STATEMENT",
  6721                               "startPosition": "3517"
  6747                               "startPosition": "3537"
  6722                             }
  6748                             }
  6723                           ],
  6749                           ],
  6724                           "startPosition": "3447"
  6750                           "startPosition": "3467"
  6725                         }
  6751                         }
  6726                       }
  6752                       }
  6727                     ],
  6753                     ],
  6728                     "startPosition": "3100"
  6754                     "startPosition": "3100"
  6729                   }
  6755                   }
  6746           "startPosition": "2889"
  6772           "startPosition": "2889"
  6747         }
  6773         }
  6748       ]
  6774       ]
  6749     },
  6775     },
  6750     {
  6776     {
  6751       "endPosition": "3901",
  6777       "endPosition": "3921",
  6752       "kind": "FUNCTION",
  6778       "kind": "FUNCTION",
  6753       "name": "main",
  6779       "name": "main",
  6754       "body": {
  6780       "body": {
  6755         "endPosition": "3899",
  6781         "endPosition": "3919",
  6756         "kind": "BLOCK",
  6782         "kind": "BLOCK",
  6757         "statements": [
  6783         "statements": [
  6758           {
  6784           {
  6759             "expression": {
  6785             "expression": {
  6760               "endPosition": "3631",
  6786               "endPosition": "3651",
  6761               "kind": "FUNCTION_INVOCATION",
  6787               "kind": "FUNCTION_INVOCATION",
  6762               "functionSelect": {
  6788               "functionSelect": {
  6763                 "endPosition": "3626",
  6789                 "endPosition": "3646",
  6764                 "kind": "IDENTIFIER",
  6790                 "kind": "IDENTIFIER",
  6765                 "name": "print",
  6791                 "name": "print",
  6766                 "startPosition": "3621"
  6792                 "startPosition": "3641"
  6767               },
  6793               },
  6768               "arguments": [
  6794               "arguments": [
  6769                 {
  6795                 {
  6770                   "endPosition": "3629",
  6796                   "endPosition": "3649",
  6771                   "kind": "STRING_LITERAL",
  6797                   "kind": "STRING_LITERAL",
  6772                   "value": "[",
  6798                   "value": "[",
  6773                   "startPosition": "3628"
  6799                   "startPosition": "3648"
  6774                 }
  6800                 }
  6775               ],
  6801               ],
  6776               "startPosition": "3621"
  6802               "startPosition": "3641"
  6777             },
  6803             },
  6778             "endPosition": "3631",
  6804             "endPosition": "3651",
  6779             "kind": "EXPRESSION_STATEMENT",
  6805             "kind": "EXPRESSION_STATEMENT",
  6780             "startPosition": "3621"
  6806             "startPosition": "3641"
  6781           },
  6807           },
  6782           {
  6808           {
  6783             "expression": {
  6809             "expression": {
  6784               "endPosition": "3665",
  6810               "endPosition": "3685",
  6785               "kind": "FUNCTION_INVOCATION",
  6811               "kind": "FUNCTION_INVOCATION",
  6786               "functionSelect": {
  6812               "functionSelect": {
  6787                 "endPosition": "3650",
  6813                 "endPosition": "3670",
  6788                 "kind": "IDENTIFIER",
  6814                 "kind": "IDENTIFIER",
  6789                 "name": "processFiles",
  6815                 "name": "processFiles",
  6790                 "startPosition": "3638"
  6816                 "startPosition": "3658"
  6791               },
  6817               },
  6792               "arguments": [
  6818               "arguments": [
  6793                 {
  6819                 {
  6794                   "endPosition": "3663",
  6820                   "endPosition": "3683",
  6795                   "kind": "STRING_LITERAL",
  6821                   "kind": "STRING_LITERAL",
  6796                   "value": "parsertests",
  6822                   "value": "parsertests",
  6797                   "startPosition": "3652"
  6823                   "startPosition": "3672"
  6798                 }
  6824                 }
  6799               ],
  6825               ],
  6800               "startPosition": "3638"
  6826               "startPosition": "3658"
  6801             },
  6827             },
  6802             "endPosition": "3665",
  6828             "endPosition": "3685",
  6803             "kind": "EXPRESSION_STATEMENT",
  6829             "kind": "EXPRESSION_STATEMENT",
  6804             "startPosition": "3638"
  6830             "startPosition": "3658"
  6805           },
  6831           },
  6806           {
  6832           {
  6807             "expression": {
  6833             "expression": {
  6808               "endPosition": "3706",
  6834               "endPosition": "3726",
  6809               "kind": "FUNCTION_INVOCATION",
  6835               "kind": "FUNCTION_INVOCATION",
  6810               "functionSelect": {
  6836               "functionSelect": {
  6811                 "endPosition": "3683",
  6837                 "endPosition": "3703",
  6812                 "kind": "IDENTIFIER",
  6838                 "kind": "IDENTIFIER",
  6813                 "name": "processFiles",
  6839                 "name": "processFiles",
  6814                 "startPosition": "3671"
  6840                 "startPosition": "3691"
  6815               },
  6841               },
  6816               "arguments": [
  6842               "arguments": [
  6817                 {
  6843                 {
  6818                   "endPosition": "3704",
  6844                   "endPosition": "3724",
  6819                   "kind": "STRING_LITERAL",
  6845                   "kind": "STRING_LITERAL",
  6820                   "value": "parsernegativetests",
  6846                   "value": "parsernegativetests",
  6821                   "startPosition": "3685"
  6847                   "startPosition": "3705"
  6822                 }
  6848                 }
  6823               ],
  6849               ],
  6824               "startPosition": "3671"
  6850               "startPosition": "3691"
  6825             },
  6851             },
  6826             "endPosition": "3706",
  6852             "endPosition": "3726",
  6827             "kind": "EXPRESSION_STATEMENT",
  6853             "kind": "EXPRESSION_STATEMENT",
  6828             "startPosition": "3671"
  6854             "startPosition": "3691"
  6829           },
  6855           },
  6830           {
  6856           {
  6831             "endPosition": "3775",
  6857             "endPosition": "3795",
  6832             "kind": "VARIABLE",
  6858             "kind": "VARIABLE",
  6833             "name": "script",
  6859             "name": "script",
  6834             "startPosition": "3747",
  6860             "startPosition": "3767",
  6835             "initializer": {
  6861             "initializer": {
  6836               "endPosition": "3775",
  6862               "endPosition": "3795",
  6837               "kind": "FUNCTION_INVOCATION",
  6863               "kind": "FUNCTION_INVOCATION",
  6838               "functionSelect": {
  6864               "functionSelect": {
  6839                 "endPosition": "3765",
  6865                 "endPosition": "3785",
  6840                 "kind": "IDENTIFIER",
  6866                 "kind": "IDENTIFIER",
  6841                 "name": "readFully",
  6867                 "name": "readFully",
  6842                 "startPosition": "3756"
  6868                 "startPosition": "3776"
  6843               },
  6869               },
  6844               "arguments": [
  6870               "arguments": [
  6845                 {
  6871                 {
  6846                   "endPosition": "3774",
  6872                   "endPosition": "3794",
  6847                   "kind": "IDENTIFIER",
  6873                   "kind": "IDENTIFIER",
  6848                   "name": "__FILE__",
  6874                   "name": "__FILE__",
  6849                   "startPosition": "3766"
  6875                   "startPosition": "3786"
  6850                 }
  6876                 }
  6851               ],
  6877               ],
  6852               "startPosition": "3756"
  6878               "startPosition": "3776"
  6853             }
  6879             }
  6854           },
  6880           },
  6855           {
  6881           {
  6856             "endPosition": "3840",
  6882             "endPosition": "3860",
  6857             "kind": "VARIABLE",
  6883             "kind": "VARIABLE",
  6858             "name": "tree",
  6884             "name": "tree",
  6859             "startPosition": "3785",
  6885             "startPosition": "3805",
  6860             "initializer": {
  6886             "initializer": {
  6861               "endPosition": "3840",
  6887               "endPosition": "3860",
  6862               "kind": "FUNCTION_INVOCATION",
  6888               "kind": "FUNCTION_INVOCATION",
  6863               "functionSelect": {
  6889               "functionSelect": {
  6864                 "identifier": "parse",
  6890                 "identifier": "parse",
  6865                 "expression": {
  6891                 "expression": {
  6866                   "constructorExpression": {
  6892                   "constructorExpression": {
  6867                     "endPosition": "3804",
  6893                     "endPosition": "3824",
  6868                     "kind": "FUNCTION_INVOCATION",
  6894                     "kind": "FUNCTION_INVOCATION",
  6869                     "functionSelect": {
  6895                     "functionSelect": {
  6870                       "endPosition": "3802",
  6896                       "endPosition": "3822",
  6871                       "kind": "IDENTIFIER",
  6897                       "kind": "IDENTIFIER",
  6872                       "name": "Parser",
  6898                       "name": "Parser",
  6873                       "startPosition": "3796"
  6899                       "startPosition": "3816"
  6874                     },
  6900                     },
  6875                     "arguments": [],
  6901                     "arguments": [],
  6876                     "startPosition": "3796"
  6902                     "startPosition": "3816"
  6877                   },
  6903                   },
  6878                   "endPosition": "3804",
  6904                   "endPosition": "3824",
  6879                   "kind": "NEW",
  6905                   "kind": "NEW",
  6880                   "startPosition": "3792"
  6906                   "startPosition": "3812"
  6881                 },
  6907                 },
  6882                 "endPosition": "3810",
  6908                 "endPosition": "3830",
  6883                 "kind": "MEMBER_SELECT",
  6909                 "kind": "MEMBER_SELECT",
  6884                 "startPosition": "3792"
  6910                 "startPosition": "3812"
  6885               },
  6911               },
  6886               "arguments": [
  6912               "arguments": [
  6887                 {
  6913                 {
  6888                   "endPosition": "3824",
  6914                   "endPosition": "3844",
  6889                   "kind": "STRING_LITERAL",
  6915                   "kind": "STRING_LITERAL",
  6890                   "value": "parserapi.js",
  6916                   "value": "parserapi.js",
  6891                   "startPosition": "3812"
  6917                   "startPosition": "3832"
  6892                 },
  6918                 },
  6893                 {
  6919                 {
  6894                   "endPosition": "3833",
  6920                   "endPosition": "3853",
  6895                   "kind": "IDENTIFIER",
  6921                   "kind": "IDENTIFIER",
  6896                   "name": "script",
  6922                   "name": "script",
  6897                   "startPosition": "3827"
  6923                   "startPosition": "3847"
  6898                 },
  6924                 },
  6899                 {
  6925                 {
  6900                   "endPosition": "3839",
  6926                   "endPosition": "3859",
  6901                   "kind": "NULL_LITERAL",
  6927                   "kind": "NULL_LITERAL",
  6902                   "startPosition": "3835"
  6928                   "startPosition": "3855"
  6903                 }
  6929                 }
  6904               ],
  6930               ],
  6905               "startPosition": "3792"
  6931               "startPosition": "3812"
  6906             }
  6932             }
  6907           },
  6933           },
  6908           {
  6934           {
  6909             "expression": {
  6935             "expression": {
  6910               "endPosition": "3882",
  6936               "endPosition": "3902",
  6911               "kind": "FUNCTION_INVOCATION",
  6937               "kind": "FUNCTION_INVOCATION",
  6912               "functionSelect": {
  6938               "functionSelect": {
  6913                 "endPosition": "3851",
  6939                 "endPosition": "3871",
  6914                 "kind": "IDENTIFIER",
  6940                 "kind": "IDENTIFIER",
  6915                 "name": "print",
  6941                 "name": "print",
  6916                 "startPosition": "3846"
  6942                 "startPosition": "3866"
  6917               },
  6943               },
  6918               "arguments": [
  6944               "arguments": [
  6919                 {
  6945                 {
  6920                   "endPosition": "3881",
  6946                   "endPosition": "3901",
  6921                   "kind": "FUNCTION_INVOCATION",
  6947                   "kind": "FUNCTION_INVOCATION",
  6922                   "functionSelect": {
  6948                   "functionSelect": {
  6923                     "identifier": "stringify",
  6949                     "identifier": "stringify",
  6924                     "expression": {
  6950                     "expression": {
  6925                       "endPosition": "3856",
  6951                       "endPosition": "3876",
  6926                       "kind": "IDENTIFIER",
  6952                       "kind": "IDENTIFIER",
  6927                       "name": "JSON",
  6953                       "name": "JSON",
  6928                       "startPosition": "3852"
  6954                       "startPosition": "3872"
  6929                     },
  6955                     },
  6930                     "endPosition": "3866",
  6956                     "endPosition": "3886",
  6931                     "kind": "MEMBER_SELECT",
  6957                     "kind": "MEMBER_SELECT",
  6932                     "startPosition": "3852"
  6958                     "startPosition": "3872"
  6933                   },
  6959                   },
  6934                   "arguments": [
  6960                   "arguments": [
  6935                     {
  6961                     {
  6936                       "endPosition": "3871",
  6962                       "endPosition": "3891",
  6937                       "kind": "IDENTIFIER",
  6963                       "kind": "IDENTIFIER",
  6938                       "name": "tree",
  6964                       "name": "tree",
  6939                       "startPosition": "3867"
  6965                       "startPosition": "3887"
  6940                     },
  6966                     },
  6941                     {
  6967                     {
  6942                       "endPosition": "3877",
  6968                       "endPosition": "3897",
  6943                       "kind": "NULL_LITERAL",
  6969                       "kind": "NULL_LITERAL",
  6944                       "startPosition": "3873"
  6970                       "startPosition": "3893"
  6945                     },
  6971                     },
  6946                     {
  6972                     {
  6947                       "endPosition": "3880",
  6973                       "endPosition": "3900",
  6948                       "kind": "NUMBER_LITERAL",
  6974                       "kind": "NUMBER_LITERAL",
  6949                       "value": "2",
  6975                       "value": "2",
  6950                       "startPosition": "3879"
  6976                       "startPosition": "3899"
  6951                     }
  6977                     }
  6952                   ],
  6978                   ],
  6953                   "startPosition": "3852"
  6979                   "startPosition": "3872"
  6954                 }
  6980                 }
  6955               ],
  6981               ],
  6956               "startPosition": "3846"
  6982               "startPosition": "3866"
  6957             },
  6983             },
  6958             "endPosition": "3882",
  6984             "endPosition": "3902",
  6959             "kind": "EXPRESSION_STATEMENT",
  6985             "kind": "EXPRESSION_STATEMENT",
  6960             "startPosition": "3846"
  6986             "startPosition": "3866"
  6961           },
  6987           },
  6962           {
  6988           {
  6963             "expression": {
  6989             "expression": {
  6964               "endPosition": "3898",
  6990               "endPosition": "3918",
  6965               "kind": "FUNCTION_INVOCATION",
  6991               "kind": "FUNCTION_INVOCATION",
  6966               "functionSelect": {
  6992               "functionSelect": {
  6967                 "endPosition": "3893",
  6993                 "endPosition": "3913",
  6968                 "kind": "IDENTIFIER",
  6994                 "kind": "IDENTIFIER",
  6969                 "name": "print",
  6995                 "name": "print",
  6970                 "startPosition": "3888"
  6996                 "startPosition": "3908"
  6971               },
  6997               },
  6972               "arguments": [
  6998               "arguments": [
  6973                 {
  6999                 {
  6974                   "endPosition": "3896",
  7000                   "endPosition": "3916",
  6975                   "kind": "STRING_LITERAL",
  7001                   "kind": "STRING_LITERAL",
  6976                   "value": "]",
  7002                   "value": "]",
  6977                   "startPosition": "3895"
  7003                   "startPosition": "3915"
  6978                 }
  7004                 }
  6979               ],
  7005               ],
  6980               "startPosition": "3888"
  7006               "startPosition": "3908"
  6981             },
  7007             },
  6982             "endPosition": "3898",
  7008             "endPosition": "3918",
  6983             "kind": "EXPRESSION_STATEMENT",
  7009             "kind": "EXPRESSION_STATEMENT",
  6984             "startPosition": "3888"
  7010             "startPosition": "3908"
  6985           }
  7011           }
  6986         ],
  7012         ],
  6987         "startPosition": "3615"
  7013         "startPosition": "3635"
  6988       },
  7014       },
  6989       "strict": "false",
  7015       "strict": "false",
  6990       "startPosition": "3599",
  7016       "startPosition": "3619",
  6991       "parameters": []
  7017       "parameters": []
  6992     },
  7018     },
  6993     {
  7019     {
  6994       "expression": {
  7020       "expression": {
  6995         "endPosition": "3909",
  7021         "endPosition": "3929",
  6996         "kind": "FUNCTION_INVOCATION",
  7022         "kind": "FUNCTION_INVOCATION",
  6997         "functionSelect": {
  7023         "functionSelect": {
  6998           "endPosition": "3907",
  7024           "endPosition": "3927",
  6999           "kind": "IDENTIFIER",
  7025           "kind": "IDENTIFIER",
  7000           "name": "main",
  7026           "name": "main",
  7001           "startPosition": "3903"
  7027           "startPosition": "3923"
  7002         },
  7028         },
  7003         "arguments": [],
  7029         "arguments": [],
  7004         "startPosition": "3903"
  7030         "startPosition": "3923"
  7005       },
  7031       },
  7006       "endPosition": "3909",
  7032       "endPosition": "3929",
  7007       "kind": "EXPRESSION_STATEMENT",
  7033       "kind": "EXPRESSION_STATEMENT",
  7008       "startPosition": "3903"
  7034       "startPosition": "3923"
  7009     }
  7035     }
  7010   ],
  7036   ],
  7011   "sourceName": "parserapi.js",
  7037   "sourceName": "parserapi.js",
  7012   "strict": "false",
  7038   "strict": "false",
  7013   "startPosition": "1136"
  7039   "startPosition": "1136"