egospodinova / ast-redux Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi!
You might want to take a look at rust-lang/rfcs#2256: this RFC is about creating a rust parser specially for the needs of IDEs, which might be useful for ast-redux as well! :)
I try to build this program,but the following errors occurred.
error[E0432]: unresolved import `syntax::abi`
--> src/parser/transform.rs:4:5
|
4 | use syntax::abi;
| ^^^^^^^^^^^ no `abi` in the root
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> src/parser/transform.rs:118:18
|
118 | ast::ViewPath_::ViewPathSimple(ref new_name, ref path)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> src/parser/transform.rs:120:18
|
120 | ast::ViewPath_::ViewPathGlob(ref path)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> src/parser/transform.rs:122:18
|
122 | ast::ViewPath_::ViewPathList(ref path, ref items)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0412]: cannot find type `ViewPath` in module `ast`
--> src/parser/transform.rs:116:50
|
116 | fn transform_use(&mut self, view_path: &ast::ViewPath) -> PathUse {
| ^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> src/parser/transform.rs:127:50
|
127 | fn transform_use_item(&mut self, item: &ast::PathListItem) -> PathUseItem {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `LifetimeDef` in module `ast`
--> src/parser/transform.rs:330:65
|
330 | fn transform_lifetime_defs(&mut self, lifetime_defs: &[ast::LifetimeDef]) -> Generics {
| ^^^^^^^^^^^ did you mean `Lifetime`?
error[E0412]: cannot find type `TyParamBound` in module `ast`
--> src/parser/transform.rs:342:48
|
342 | fn transform_bound(&mut self, bound: &ast::TyParamBound) -> TypeParamBound {
| ^^^^^^^^^^^^ not found in `ast`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.