Giter Club home page Giter Club logo

ast-redux's People

Contributors

egospodinova avatar

Stargazers

 avatar Matthew Bettcher avatar Jacob Mischka avatar

Watchers

 avatar Gábor Lehel avatar

Forkers

proatgram

ast-redux's Issues

libsyntax2.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! :)

build issues

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`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.