test/nashorn/script/basic/parser/tryCatchStat.js.EXPECTED
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 29407 nashorn/test/script/basic/parser/tryCatchStat.js.EXPECTED@3fd4ede1581e
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     1
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     2
    "type": "Program",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     3
    "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     4
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     5
            "type": "TryStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     6
            "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     7
                "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     8
                "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
     9
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    10
            "guardedHandlers": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    11
            "handler": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    12
                "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    13
                "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    14
                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    15
                    "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    16
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    17
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    18
                    "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    19
                    "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    20
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    21
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    22
            "finalizer": null
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    23
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    24
    ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    25
}
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    26
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    27
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    28
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    29
        {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    30
            "type": "TryStatement",
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    31
            "block": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    32
                "type": "BlockStatement",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    33
                "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    34
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    35
            "guardedHandlers": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    36
            "handler": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    37
                "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    38
                "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    39
                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    40
                    "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    41
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    42
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    43
                    "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    44
                    "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    45
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    46
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    47
            "finalizer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    48
                "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    49
                "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    50
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    51
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    52
    ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    53
}
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    54
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    55
    "type": "Program",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    56
    "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    57
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    58
            "type": "TryStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    59
            "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    60
                "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    61
                "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    62
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    63
            "guardedHandlers": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    64
            "handler": null,
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    65
            "finalizer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    66
                "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    67
                "body": []
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    68
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    69
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    70
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    71
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    72
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    73
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    74
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    75
        {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    76
            "type": "TryStatement",
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    77
            "block": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    78
                "type": "BlockStatement",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    79
                "body": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    80
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    81
            "guardedHandlers": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    82
            "handler": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    83
                "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    84
                "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    85
                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    86
                    "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    87
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    88
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    89
                    "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    90
                    "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    91
                        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    92
                            "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    93
                            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    94
                                "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    95
                                "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    96
                                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    97
                                    "name": "handle"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    98
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
    99
                                "arguments": []
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   100
                            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   101
                        }
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   102
                    ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   103
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   104
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   105
            "finalizer": null
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   106
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   107
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   108
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   109
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   110
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   111
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   112
        {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   113
            "type": "TryStatement",
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   114
            "block": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   115
                "type": "BlockStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   116
                "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   117
                    {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   118
                        "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   119
                        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   120
                            "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   121
                            "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   122
                                "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   123
                                "name": "that"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   124
                            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   125
                            "arguments": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   126
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   127
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   128
                ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   129
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   130
            "guardedHandlers": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   131
            "handler": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   132
                "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   133
                "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   134
                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   135
                    "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   136
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   137
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   138
                    "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   139
                    "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   140
                        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   141
                            "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   142
                            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   143
                                "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   144
                                "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   145
                                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   146
                                    "name": "handle"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   147
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   148
                                "arguments": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   149
                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   150
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   151
                    ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   152
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   153
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   154
            "finalizer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   155
                "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   156
                "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   157
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   158
                        "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   159
                        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   160
                            "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   161
                            "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   162
                                "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   163
                                "name": "clean"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   164
                            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   165
                            "arguments": []
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   166
                        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   167
                    }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   168
                ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   169
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   170
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   171
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   172
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   173
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   174
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   175
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   176
        {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   177
            "type": "TryStatement",
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   178
            "block": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   179
                "type": "BlockStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   180
                "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   181
                    {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   182
                        "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   183
                        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   184
                            "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   185
                            "callee": {
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   186
                                "type": "Identifier",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   187
                                "name": "that"
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   188
                            },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   189
                            "arguments": []
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   190
                        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   191
                    }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   192
                ]
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   193
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   194
            "guardedHandlers": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   195
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   196
                    "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   197
                    "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   198
                        "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   199
                        "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   200
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   201
                    "guard": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   202
                        "type": "BinaryExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   203
                        "operator": "instanceof",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   204
                        "left": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   205
                            "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   206
                            "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   207
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   208
                        "right": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   209
                            "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   210
                            "name": "TypeError"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   211
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   212
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   213
                    "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   214
                        "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   215
                        "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   216
                            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   217
                                "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   218
                                "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   219
                                    "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   220
                                    "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   221
                                        "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   222
                                        "name": "handle"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   223
                                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   224
                                    "arguments": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   225
                                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   226
                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   227
                        ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   228
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   229
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   230
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   231
            "handler": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   232
                "type": "CatchClause",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   233
                "param": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   234
                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   235
                    "name": "e"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   236
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   237
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   238
                    "type": "BlockStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   239
                    "body": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   240
                        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   241
                            "type": "ExpressionStatement",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   242
                            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   243
                                "type": "CallExpression",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   244
                                "callee": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   245
                                    "type": "Identifier",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   246
                                    "name": "rest"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   247
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   248
                                "arguments": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   249
                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   250
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   251
                    ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   252
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   253
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents: 19894
diff changeset
   254
            "finalizer": null
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   255
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   256
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   257
}