This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
100 changed files
with
456 additions
and
3,596 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 15 additions & 21 deletions
36
crates/rslint_parser/test_data/inline/err/async_arrow_expr_await_parameter.rast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<<<<<<< HEAD | ||
[email protected] | ||
======= | ||
[email protected] | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
@@ -12,85 +8,28 @@ [email protected] | |
None [email protected] "(" None | ||
[email protected] | ||
[email protected] | ||
<<<<<<< HEAD | ||
[email protected] | ||
[email protected] "foo" | ||
[email protected] " " | ||
[email protected] "+" | ||
[email protected] ")" | ||
[email protected] ";" | ||
[email protected] "\n" | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] "foo" | ||
[email protected] " " | ||
[email protected] "+" | ||
[email protected] " " | ||
======= | ||
[email protected] | ||
None [email protected] "foo" Whitespace(1) | ||
None [email protected] "+" None | ||
None [email protected] ")" None | ||
None [email protected] ";" None | ||
EXPR_STMT@11..22 | ||
JS_EXPRESSION_STATEMENT@11..22 | ||
[email protected] | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
"\n" [email protected] "foo" " " | ||
[email protected] "+" " " | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
======= | ||
Whitespace(1) [email protected] "foo" Whitespace(1) | ||
None [email protected] "+" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
Whitespace(1) [email protected] "foo" Whitespace(1) | ||
None [email protected] "+" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
None [email protected] "*" Whitespace(1) | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
[email protected] "2" | ||
[email protected] ";" | ||
[email protected] "\n" | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] "!" | ||
[email protected] | ||
[email protected] "foo" | ||
[email protected] " " | ||
[email protected] "*" | ||
[email protected] " " | ||
======= | ||
[email protected] "2" | ||
[email protected] ";" | ||
======= | ||
None [email protected] "2" None | ||
None [email protected] ";" None | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
Whitespace(1) [email protected] "!" None | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
[email protected] "foo" " " | ||
[email protected] "*" " " | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
======= | ||
None [email protected] "foo" Whitespace(1) | ||
None [email protected] "*" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
None [email protected] "foo" Whitespace(1) | ||
None [email protected] "*" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
None [email protected] "bar" None | ||
None [email protected] ";" None | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,18 @@ | ||
<<<<<<< HEAD | ||
[email protected] | ||
======= | ||
[email protected] | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
None [email protected] "async" Whitespace(1) | ||
[email protected] | ||
None [email protected] "(" None | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
[email protected] ")" | ||
[email protected] " " | ||
[email protected] "=>" | ||
[email protected] " " | ||
[email protected] | ||
[email protected] "{" | ||
[email protected] " " | ||
[email protected] | ||
[email protected] | ||
[email protected] "let" | ||
[email protected] " " | ||
======= | ||
[email protected] ")" " " | ||
[email protected] "=>" " " | ||
======= | ||
None [email protected] ")" Whitespace(1) | ||
None [email protected] "=>" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
None [email protected] ")" Whitespace(1) | ||
None [email protected] "=>" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
[email protected] | ||
None [email protected] "{" Whitespace(1) | ||
[email protected] | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
[email protected] "let" " " | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
======= | ||
None [email protected] "let" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
None [email protected] "let" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
@@ -67,40 +31,12 @@ [email protected] | |
[email protected] | ||
None [email protected] "(" None | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
[email protected] ")" | ||
[email protected] " " | ||
[email protected] | ||
[email protected] "{" | ||
[email protected] "\n " | ||
[email protected] | ||
[email protected] | ||
[email protected] "let" | ||
[email protected] " " | ||
======= | ||
[email protected] ")" " " | ||
======= | ||
None [email protected] ")" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
None [email protected] ")" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
[email protected] | ||
None [email protected] "{" None | ||
[email protected] | ||
[email protected] | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
"\n " [email protected] "let" " " | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
======= | ||
Whitespace(4) [email protected] "let" Whitespace(1) | ||
>>>>>>> 03257ad46 (greentoken slice contains everything from first leading to last trailing trivia) | ||
======= | ||
Whitespace(4) [email protected] "let" Whitespace(1) | ||
>>>>>>> c96756449 (fixing text and text_with_trivia and ranges) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
6 changes: 1 addition & 5 deletions
6
crates/rslint_parser/test_data/inline/err/block_stmt_in_class.rast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<<<<<<< HEAD | ||
[email protected] | ||
======= | ||
[email protected] | ||
>>>>>>> 56d750195 (trim format_raw when formatter finds an error) | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
None [email protected] "class" Whitespace(1) | ||
|
Oops, something went wrong.