forked from tmikov/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement wrappers for the more complete Hermes parser API
Summary: The new Hermes parser API wrappers expose all generated error messages with their detailed data (previously it only returned the first error formatted as a string). A method to convert from SMLoc to line+column is also exposed. Lastly magic comments can be queried. The new Rust wrappers are implemented, but for now the public module API is preserved. Reviewed By: avp Differential Revision: D30444129 fbshipit-source-id: a09af9619bc1852d1d722ef5d8b3f7772a630488
- Loading branch information
1 parent
87f90b7
commit f3cc446
Showing
9 changed files
with
2,315 additions
and
1,530 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,4 +6,5 @@ edition = "2018" | |
license = "MIT" | ||
|
||
[dependencies] | ||
libc = "0.2" | ||
thiserror = "1.0" |
Oops, something went wrong.