nashorn/test/script/basic/parser/throwStat.js.EXPECTED
author sundar
Thu, 12 Sep 2013 22:16:40 +0530
changeset 19894 195477810711
permissions -rw-r--r--
8024693: Various minor issues with JSONWriter used by script parser API Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19894
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     1
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     2
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     3
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     4
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     5
            "type": "ThrowStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     6
            "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     7
                "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     8
                "name": "err"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     9
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    10
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    11
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    12
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    13
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    14
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    15
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    16
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    17
            "type": "ThrowStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    18
            "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    19
                "type": "Literal",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    20
                "value": "wrong"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    21
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    22
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    23
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    24
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    25
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    26
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    27
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    28
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    29
            "type": "ThrowStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    30
            "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    31
                "type": "NewExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    32
                "callee": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    33
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    34
                    "name": "TypeError"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    35
                },
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    36
                "arguments": []
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    37
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    38
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    39
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    40
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    41
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    42
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    43
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    44
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    45
            "type": "ThrowStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    46
            "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    47
                "type": "NewExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    48
                "callee": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    49
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    50
                    "name": "TypeError"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    51
                },
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    52
                "arguments": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    53
                    {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    54
                        "type": "Literal",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    55
                        "value": "not an array"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    56
                    }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    57
                ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    58
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    59
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    60
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    61
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    62
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    63
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    64
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    65
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    66
            "type": "ThrowStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    67
            "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    68
                "type": "ObjectExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    69
                "properties": [
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
                        "key": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    72
                            "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    73
                            "name": "msg"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    74
                        },
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    75
                        "value": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    76
                            "type": "Literal",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    77
                            "value": "wrong!"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    78
                        },
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    79
                        "kind": "init"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    80
                    }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    81
                ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    82
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    83
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    84
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    85
}