| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "~", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "~", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** delete y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "delete", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 12, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 12 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Keyword", | ||
| "value": "delete", | ||
| "range": [ | ||
| 5, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 12, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 12 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** -y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "-", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "-", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** --y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UpdateExpression", | ||
| "operator": "--", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 7, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 7 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "--", | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 7, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 7 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** !y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "!", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "!", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** y |
| @@ -0,0 +1,147 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** +y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "+", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "+", | ||
| "range": [ | ||
| 5, | ||
| 6 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 6 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 6, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** ++y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UpdateExpression", | ||
| "operator": "++", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 7, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 7 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "++", | ||
| "range": [ | ||
| 5, | ||
| 7 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 7 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 7, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 7 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x * y ** -z |
| @@ -0,0 +1,256 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "*", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 4, | ||
| 5 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 4 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 5 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "-", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "z", | ||
| "range": [ | ||
| 10, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 10 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 9, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 9 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 4, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 4 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "*", | ||
| "range": [ | ||
| 2, | ||
| 3 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 3 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 4, | ||
| 5 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 4 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 5 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 6, | ||
| 8 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 6 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 8 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "-", | ||
| "range": [ | ||
| 9, | ||
| 10 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 9 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 10 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "z", | ||
| "range": [ | ||
| 10, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 10 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** typeof y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "typeof", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 12, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 12 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Keyword", | ||
| "value": "typeof", | ||
| "range": [ | ||
| 5, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 12, | ||
| 13 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 12 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 13 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| x ** void y |
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "type": "Program", | ||
| "body": [ | ||
| { | ||
| "type": "ExpressionStatement", | ||
| "expression": { | ||
| "type": "BinaryExpression", | ||
| "operator": "**", | ||
| "left": { | ||
| "type": "Identifier", | ||
| "name": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| "right": { | ||
| "type": "UnaryExpression", | ||
| "operator": "void", | ||
| "argument": { | ||
| "type": "Identifier", | ||
| "name": "y", | ||
| "range": [ | ||
| 10, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 10 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "prefix": true, | ||
| "range": [ | ||
| 5, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| }, | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "sourceType": "script", | ||
| "range": [ | ||
| 0, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| }, | ||
| "tokens": [ | ||
| { | ||
| "type": "Identifier", | ||
| "value": "x", | ||
| "range": [ | ||
| 0, | ||
| 1 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 0 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 1 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Punctuator", | ||
| "value": "**", | ||
| "range": [ | ||
| 2, | ||
| 4 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 2 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 4 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Keyword", | ||
| "value": "void", | ||
| "range": [ | ||
| 5, | ||
| 9 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 5 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 9 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "type": "Identifier", | ||
| "value": "y", | ||
| "range": [ | ||
| 10, | ||
| 11 | ||
| ], | ||
| "loc": { | ||
| "start": { | ||
| "line": 1, | ||
| "column": 10 | ||
| }, | ||
| "end": { | ||
| "line": 1, | ||
| "column": 11 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| @@ -0,0 +1 @@ | ||
| {"index":3,"lineNumber":1,"column":4,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| ~x ** y |
| @@ -0,0 +1 @@ | ||
| {"index":9,"lineNumber":1,"column":10,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| delete x ** y |
| @@ -0,0 +1 @@ | ||
| {"index":3,"lineNumber":1,"column":4,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| -x ** y |
| @@ -0,0 +1 @@ | ||
| {"index":3,"lineNumber":1,"column":4,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| !x ** y |
| @@ -0,0 +1 @@ | ||
| {"index":3,"lineNumber":1,"column":4,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| +x ** y |
| @@ -0,0 +1 @@ | ||
| {"index":9,"lineNumber":1,"column":10,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| typeof x ** y |
| @@ -0,0 +1 @@ | ||
| (++x ** y) + (--p ** q) |
| @@ -0,0 +1 @@ | ||
| {"index":7,"lineNumber":1,"column":8,"message":"Error: Line 1: Unexpected token **","description":"Unexpected token **"} |
| @@ -0,0 +1 @@ | ||
| void x ** y |
| @@ -0,0 +1 @@ | ||
| (++x ** y) - (--p ** q) |