mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 07:50:04 +00:00
76b407eb79
Signed-off-by: 徐未来 <xuweilai2@huawei.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
main.rs | ||
parse.rs | ||
README.md |
A little project skeleton for troubleshooting Syn's parsers during development, especially when adding support for new Rust syntax.
Place a sample of the syntax you are working on into main.rs and then run cargo check
to try parsing it, revealing the resulting syntax tree or else showing
the position and error message if the input fails to parse.