nashorn/test/script/basic/parser/unaryExpr.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": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     6
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     7
                "type": "UpdateExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     8
                "operator": "++",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
     9
                "prefix": false,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    10
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    11
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    12
                    "name": "x"
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
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    15
        }
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
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    18
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    19
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    20
    "body": [
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
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    23
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    24
                "type": "UpdateExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    25
                "operator": "--",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    26
                "prefix": false,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    27
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    28
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    29
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    30
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    31
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    32
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    33
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    34
}
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
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    37
    "body": [
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
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    40
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    41
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    42
                "operator": "delete",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    43
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    44
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    45
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    46
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    47
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    48
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    49
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    50
    ]
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
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    53
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    54
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    55
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    56
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    57
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    58
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    59
                "operator": "void",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    60
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    61
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    62
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    63
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    64
                }
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
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    67
    ]
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
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    71
    "body": [
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": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    74
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    75
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    76
                "operator": "typeof",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    77
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    78
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    79
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    80
                    "name": "x"
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
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    86
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    87
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    88
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    89
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    90
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    91
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    92
                "type": "UpdateExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    93
                "operator": "++",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    94
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    95
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    96
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    97
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    98
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
    99
            }
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
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   102
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   103
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   104
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   105
    "body": [
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
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   108
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   109
                "type": "UpdateExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   110
                "operator": "--",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   111
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   112
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   113
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   114
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   115
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   116
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   117
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   118
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   119
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   120
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   121
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   122
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   123
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   124
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   125
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   126
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   127
                "operator": "+",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   128
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   129
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   130
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   131
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   132
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   133
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   134
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   135
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   136
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   137
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   138
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   139
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   140
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   141
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   142
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   143
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   144
                "operator": "-",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   145
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   146
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   147
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   148
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   149
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   150
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   151
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   152
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   153
}
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   154
{
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   155
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   156
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   157
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   158
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   159
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   160
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   161
                "operator": "~",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   162
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   163
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   164
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   165
                    "name": "x"
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
    "type": "Program",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   173
    "body": [
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   174
        {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   175
            "type": "ExpressionStatement",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   176
            "expression": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   177
                "type": "UnaryExpression",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   178
                "operator": "!",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   179
                "prefix": true,
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   180
                "argument": {
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   181
                    "type": "Identifier",
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   182
                    "name": "x"
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   183
                }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   184
            }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   185
        }
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   186
    ]
195477810711 8024693: Various minor issues with JSONWriter used by script parser API
sundar
parents:
diff changeset
   187
}