Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore(ast-spec): update@babel/parser and spapshots#6266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| exports[`AST Fixtures element AccessorProperty modifier-abstract-with-value Babel - AST 1`] = ` | ||
| Program { | ||
| type: "Program", | ||
| body: Array [ | ||
| ClassDeclaration { | ||
| type: "ClassDeclaration", | ||
| abstract: true, | ||
| body: ClassBody { | ||
| type: "ClassBody", | ||
| body: Array [ | ||
| ClassAccessorProperty { | ||
| type: "ClassAccessorProperty", | ||
| abstract: true, | ||
| computed: false, | ||
| key: Identifier { | ||
| type: "Identifier", | ||
| name: "foo", | ||
| range: [41, 44], | ||
| loc: { | ||
| start: { column: 20, line: 2 }, | ||
| end: { column: 23, line: 2 }, | ||
| }, | ||
| }, | ||
| static: false, | ||
| typeAnnotation: TSTypeAnnotation { | ||
| type: "TSTypeAnnotation", | ||
| typeAnnotation: TSNumberKeyword { | ||
| type: "TSNumberKeyword", | ||
| range: [46, 52], | ||
| loc: { | ||
| start: { column: 25, line: 2 }, | ||
| end: { column: 31, line: 2 }, | ||
| }, | ||
| }, | ||
| range: [44, 52], | ||
| loc: { | ||
| start: { column: 23, line: 2 }, | ||
| end: { column: 31, line: 2 }, | ||
| }, | ||
| }, | ||
| value: Literal { | ||
| type: "Literal", | ||
| raw: "1", | ||
| value: 1, | ||
| range: [55, 56], | ||
| loc: { | ||
| start: { column: 34, line: 2 }, | ||
| end: { column: 35, line: 2 }, | ||
| }, | ||
| }, | ||
| range: [23, 57], | ||
| loc: { | ||
| start: { column: 2, line: 2 }, | ||
| end: { column: 36, line: 2 }, | ||
| }, | ||
| }, | ||
| ], | ||
| range: [19, 59], | ||
| loc: { | ||
| start: { column: 19, line: 1 }, | ||
| end: { column: 1, line: 3 }, | ||
| }, | ||
| }, | ||
| id: Identifier { | ||
| type: "Identifier", | ||
| name: "Foo", | ||
| range: [15, 18], | ||
| loc: { | ||
| start: { column: 15, line: 1 }, | ||
| end: { column: 18, line: 1 }, | ||
| }, | ||
| }, | ||
| superClass: null, | ||
| range: [0, 59], | ||
| loc: { | ||
| start: { column: 0, line: 1 }, | ||
| end: { column: 1, line: 3 }, | ||
| }, | ||
| }, | ||
| ], | ||
| sourceType: "script", | ||
| range: [0, 60], | ||
| loc: { | ||
| start: { column: 0, line: 1 }, | ||
| end: { column: 0, line: 4 }, | ||
| }, | ||
| } | ||
| `; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,136 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| exports[`AST Fixtures element AccessorProperty modifier-abstract-with-value Babel - Tokens 1`] = ` | ||
| Array [ | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "abstract", | ||
| range: [0, 8], | ||
| loc: { | ||
| start: { column: 0, line: 1 }, | ||
| end: { column: 8, line: 1 }, | ||
| }, | ||
| }, | ||
| Keyword { | ||
| type: "Keyword", | ||
| value: "class", | ||
| range: [9, 14], | ||
| loc: { | ||
| start: { column: 9, line: 1 }, | ||
| end: { column: 14, line: 1 }, | ||
| }, | ||
| }, | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "Foo", | ||
| range: [15, 18], | ||
| loc: { | ||
| start: { column: 15, line: 1 }, | ||
| end: { column: 18, line: 1 }, | ||
| }, | ||
| }, | ||
| Punctuator { | ||
| type: "Punctuator", | ||
| value: "{", | ||
| range: [19, 20], | ||
| loc: { | ||
| start: { column: 19, line: 1 }, | ||
| end: { column: 20, line: 1 }, | ||
| }, | ||
| }, | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "abstract", | ||
| range: [23, 31], | ||
| loc: { | ||
| start: { column: 2, line: 2 }, | ||
| end: { column: 10, line: 2 }, | ||
| }, | ||
| }, | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "accessor", | ||
| range: [32, 40], | ||
| loc: { | ||
| start: { column: 11, line: 2 }, | ||
| end: { column: 19, line: 2 }, | ||
| }, | ||
| }, | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "foo", | ||
| range: [41, 44], | ||
| loc: { | ||
| start: { column: 20, line: 2 }, | ||
| end: { column: 23, line: 2 }, | ||
| }, | ||
| }, | ||
| Punctuator { | ||
| type: "Punctuator", | ||
| value: ":", | ||
| range: [44, 45], | ||
| loc: { | ||
| start: { column: 23, line: 2 }, | ||
| end: { column: 24, line: 2 }, | ||
| }, | ||
| }, | ||
| Identifier { | ||
| type: "Identifier", | ||
| value: "number", | ||
| range: [46, 52], | ||
| loc: { | ||
| start: { column: 25, line: 2 }, | ||
| end: { column: 31, line: 2 }, | ||
| }, | ||
| }, | ||
| Punctuator { | ||
| type: "Punctuator", | ||
| value: "=", | ||
| range: [53, 54], | ||
| loc: { | ||
| start: { column: 32, line: 2 }, | ||
| end: { column: 33, line: 2 }, | ||
| }, | ||
| }, | ||
| Numeric { | ||
| type: "Numeric", | ||
| value: "1", | ||
| range: [55, 56], | ||
| loc: { | ||
| start: { column: 34, line: 2 }, | ||
| end: { column: 35, line: 2 }, | ||
| }, | ||
| }, | ||
| Punctuator { | ||
| type: "Punctuator", | ||
| value: ";", | ||
| range: [56, 57], | ||
| loc: { | ||
| start: { column: 35, line: 2 }, | ||
| end: { column: 36, line: 2 }, | ||
| }, | ||
| }, | ||
| Punctuator { | ||
| type: "Punctuator", | ||
| value: "}", | ||
| range: [58, 59], | ||
| loc: { | ||
| start: { column: 0, line: 3 }, | ||
| end: { column: 1, line: 3 }, | ||
| }, | ||
| }, | ||
| ] | ||
| `; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,108 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| exports[`AST Fixtures element AccessorProperty modifier-abstract-with-value AST Alignment - AST 1`] = ` | ||
| "Snapshot Diff: | ||
| - TSESTree | ||
| + Babel | ||
| Program { | ||
| type: 'Program', | ||
| body: Array [ | ||
| ClassDeclaration { | ||
| type: 'ClassDeclaration', | ||
| abstract: true, | ||
| body: ClassBody { | ||
| type: 'ClassBody', | ||
| body: Array [ | ||
| - TSAbstractAccessorProperty { | ||
| - type: 'TSAbstractAccessorProperty', | ||
| + ClassAccessorProperty { | ||
| + type: 'ClassAccessorProperty', | ||
| + abstract: true, | ||
| computed: false, | ||
| - declare: false, | ||
| key: Identifier { | ||
| type: 'Identifier', | ||
| name: 'foo', | ||
| range: [41, 44], | ||
| loc: { | ||
| start: { column: 20, line: 2 }, | ||
| end: { column: 23, line: 2 }, | ||
| }, | ||
| }, | ||
| - override: false, | ||
| static: false, | ||
| typeAnnotation: TSTypeAnnotation { | ||
| type: 'TSTypeAnnotation', | ||
| typeAnnotation: TSNumberKeyword { | ||
| type: 'TSNumberKeyword', | ||
| range: [46, 52], | ||
| loc: { | ||
| start: { column: 25, line: 2 }, | ||
| end: { column: 31, line: 2 }, | ||
| }, | ||
| }, | ||
| range: [44, 52], | ||
| loc: { | ||
| start: { column: 23, line: 2 }, | ||
| end: { column: 31, line: 2 }, | ||
| }, | ||
| }, | ||
| - value: null, | ||
| + value: Literal { | ||
| + type: 'Literal', | ||
| + raw: '1', | ||
| + value: 1, | ||
| + | ||
| + range: [55, 56], | ||
| + loc: { | ||
| + start: { column: 34, line: 2 }, | ||
| + end: { column: 35, line: 2 }, | ||
| + }, | ||
| + }, | ||
| range: [23, 57], | ||
| loc: { | ||
| start: { column: 2, line: 2 }, | ||
| end: { column: 36, line: 2 }, | ||
| }, | ||
| }, | ||
| ], | ||
| range: [19, 59], | ||
| loc: { | ||
| start: { column: 19, line: 1 }, | ||
| end: { column: 1, line: 3 }, | ||
| }, | ||
| }, | ||
| id: Identifier { | ||
| type: 'Identifier', | ||
| name: 'Foo', | ||
| range: [15, 18], | ||
| loc: { | ||
| start: { column: 15, line: 1 }, | ||
| end: { column: 18, line: 1 }, | ||
| }, | ||
| }, | ||
| superClass: null, | ||
| range: [0, 59], | ||
| loc: { | ||
| start: { column: 0, line: 1 }, | ||
| end: { column: 1, line: 3 }, | ||
| }, | ||
| }, | ||
| ], | ||
| sourceType: 'script', | ||
| range: [0, 60], | ||
| loc: { | ||
| start: { column: 0, line: 1 }, | ||
| end: { column: 0, line: 4 }, | ||
| }, | ||
| }" | ||
| `; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| exports[`AST Fixtures element AccessorProperty modifier-abstract-with-value AST Alignment - Token 1`] = ` | ||
| "Snapshot Diff: | ||
| Compared values have no visual difference." | ||
| `; |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.