Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Mar 26, 2021
1 parent 18b44b8 commit 9413b1f
Show file tree
Hide file tree
Showing 1,380 changed files with 12,902 additions and 3,155 deletions.
@@ -1,66 +1,21 @@
{
"type": "FunctionExpression",
"start": 0,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 40
}
},
"start":0,"end":40,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":40}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "AssignmentPattern",
"start": 10,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 23
}
},
"start":10,"end":23,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":23}},
"left": {
"type": "Identifier",
"start": 10,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 11
},
"identifierName": "a"
},
"start":10,"end":11,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11},"identifierName":"a"},
"name": "a"
},
"right": {
"type": "StringLiteral",
"start": 14,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 23
}
},
"start":14,"end":23,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":23}},
"extra": {
"rawValue": "default",
"raw": "\"default\""
Expand All @@ -71,58 +26,31 @@
],
"body": {
"type": "BlockStatement",
"start": 25,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 40
}
},
"start":25,"end":40,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":40}},
"body": [],
"directives": [
{
"type": "Directive",
"start": 26,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 39
}
},
"start":26,"end":39,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":39}},
"value": {
"type": "DirectiveLiteral",
"start": 26,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 38
}
},
"value": "use strict",
"start":26,"end":38,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":38}},
"extra": {
"raw": "\"use strict\"",
"rawValue": "use strict"
}
},
"value": "use strict"
}
}
]
},
"errors": [
"SyntaxError: Illegal 'use strict' directive in function with non-simple parameter list (1:0)"
{
"$$ babel internal serialized type": "Error",
"message": "Illegal 'use strict' directive in function with non-simple parameter list (1:0)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "IllegalLanguageModeDirective"
}
]
}
@@ -1,20 +1,14 @@
{
"type": "Identifier",
"start": 1,
"end": 7,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
},
"identifierName": "public"
},
"start":1,"end":7,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6},"identifierName":"public"},
"name": "public",
"errors": [
"SyntaxError: Unexpected reserved word 'public' (2:0)"
{
"$$ babel internal serialized type": "Error",
"message": "Unexpected reserved word 'public' (2:0)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "UnexpectedReservedWord"
}
]
}
Expand Up @@ -2,8 +2,20 @@
"type": "File",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},
"errors": [
"SyntaxError: Missing semicolon (2:11)",
"SyntaxError: Missing semicolon (3:7)"
{
"$$ babel internal serialized type": "Error",
"message": "Missing semicolon (2:11)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "MissingSemicolon"
},
{
"$$ babel internal serialized type": "Error",
"message": "Missing semicolon (3:7)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "MissingSemicolon"
}
],
"program": {
"type": "Program",
Expand Down
Expand Up @@ -2,7 +2,13 @@
"type": "File",
"start":0,"end":11,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern (1:1)"
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:1)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
Expand All @@ -20,6 +26,10 @@
"left": {
"type": "AssignmentPattern",
"start":1,"end":6,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":6}},
"extra": {
"parenthesized": true,
"parenStart": 0
},
"left": {
"type": "Identifier",
"start":1,"end":2,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2},"identifierName":"a"},
Expand All @@ -30,10 +40,6 @@
"start":5,"end":6,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}},
"value": 1,
"raw": "1"
},
"extra": {
"parenthesized": true,
"parenStart": 0
}
},
"right": {
Expand Down
Expand Up @@ -2,7 +2,13 @@
"type": "File",
"start":0,"end":13,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern (1:2)"
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:2)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
Expand All @@ -24,6 +30,10 @@
{
"type": "AssignmentPattern",
"start":2,"end":7,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":7}},
"extra": {
"parenthesized": true,
"parenStart": 1
},
"left": {
"type": "Identifier",
"start":2,"end":3,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3},"identifierName":"a"},
Expand All @@ -34,10 +44,6 @@
"start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},
"value": 1,
"raw": "1"
},
"extra": {
"parenthesized": true,
"parenStart": 1
}
}
]
Expand Down
Expand Up @@ -2,7 +2,13 @@
"type": "File",
"start":0,"end":21,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern (1:2)"
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:2)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
Expand All @@ -24,6 +30,10 @@
{
"type": "ObjectPattern",
"start":2,"end":15,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":15}},
"extra": {
"parenthesized": true,
"parenStart": 1
},
"properties": [
{
"type": "Property",
Expand Down Expand Up @@ -59,11 +69,7 @@
},
"kind": "init"
}
],
"extra": {
"parenthesized": true,
"parenStart": 1
}
]
}
]
},
Expand Down
Expand Up @@ -2,7 +2,13 @@
"type": "File",
"start":0,"end":22,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern (1:7)"
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:7)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
Expand Down Expand Up @@ -43,6 +49,10 @@
{
"type": "ArrayPattern",
"start":7,"end":14,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":14}},
"extra": {
"parenthesized": true,
"parenStart": 6
},
"elements": [
{
"type": "AssignmentPattern",
Expand All @@ -59,11 +69,7 @@
"raw": "1"
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 6
}
]
}
]
},
Expand Down
Expand Up @@ -2,7 +2,13 @@
"type": "File",
"start":0,"end":12,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},
"errors": [
"SyntaxError: Invalid parenthesized assignment pattern (1:2)"
{
"$$ babel internal serialized type": "Error",
"message": "Invalid parenthesized assignment pattern (1:2)",
"name": "SyntaxError",
"code": "BABEL_PARSER_SYNTAX_ERROR",
"reasonCode": "InvalidParenthesizedAssignment"
}
],
"program": {
"type": "Program",
Expand All @@ -24,17 +30,17 @@
{
"type": "ArrayPattern",
"start":2,"end":5,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5}},
"extra": {
"parenthesized": true,
"parenStart": 1
},
"elements": [
{
"type": "Identifier",
"start":3,"end":4,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4},"identifierName":"x"},
"name": "x"
}
],
"extra": {
"parenthesized": true,
"parenStart": 1
}
]
}
]
},
Expand Down

0 comments on commit 9413b1f

Please sign in to comment.