Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move scope tests to hir_def | Aleksey Kladov | 2019-11-15 | 3 | -3/+228 | |
| | ||||||
* | Add convenience method for testing | Aleksey Kladov | 2019-11-15 | 3 | -5/+5 | |
| | ||||||
* | Privatize modules | Aleksey Kladov | 2019-11-15 | 1 | -1/+5 | |
| | ||||||
* | Refactor Module::from_source to properly descend from root file | Aleksey Kladov | 2019-11-15 | 1 | -0/+7 | |
| | ||||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 4 | -4/+62 | |
| | ||||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 2 | -0/+158 | |
| | ||||||
* | Slightly better naming | Aleksey Kladov | 2019-11-14 | 2 | -10/+7 | |
| | ||||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 2 | -32/+20 | |
| | ||||||
* | Move expansion to Expander | Aleksey Kladov | 2019-11-14 | 2 | -27/+41 | |
| | ||||||
* | Move parse_path to Expander | Aleksey Kladov | 2019-11-14 | 2 | -10/+10 | |
| | ||||||
* | Expansion stack scaffold | Aleksey Kladov | 2019-11-14 | 2 | -8/+38 | |
| | ||||||
* | Add Expader::to_source | Aleksey Kladov | 2019-11-14 | 2 | -10/+8 | |
| | ||||||
* | Move original_file to Expander | Aleksey Kladov | 2019-11-14 | 2 | -9/+11 | |
| | ||||||
* | Rename MacroResolver -> Expander | Aleksey Kladov | 2019-11-14 | 2 | -27/+23 | |
| | ||||||
* | Move current file to MacroResolver | Aleksey Kladov | 2019-11-14 | 2 | -19/+25 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-14 | 1 | -5/+1 | |
| | ||||||
* | Add helpful pointer to module docs | Aleksey Kladov | 2019-11-12 | 1 | -0/+2 | |
| | ||||||
* | Drop obsolete comment | Aleksey Kladov | 2019-11-12 | 1 | -4/+0 | |
| | ||||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 2 | -2/+730 | |
| | ||||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 5 | -16/+542 | |
| | ||||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 1 | -18/+29 | |
| | ||||||
* | Merge #2205 | bors[bot] | 2019-11-11 | 2 | -3/+29 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | Add MacroDefKind | Edwin Cheng | 2019-11-11 | 1 | -8/+7 | |
| | | ||||||
| * | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 2 | -4/+31 | |
| | | ||||||
* | | impl fmt::Display for BuiltinType | Aleksey Kladov | 2019-11-11 | 1 | -0/+32 | |
| | | ||||||
* | | Overwrite the prelude with one defined in a later dependency | Matthias Einwag | 2019-11-10 | 1 | -9/+6 | |
| | | | | | | | | | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order. | |||||
* | | Add tests for resolving types in core and std preludes | Matthias Einwag | 2019-11-10 | 1 | -0/+31 | |
| | | ||||||
* | | Resolve core types | Matthias Einwag | 2019-11-09 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199 | |||||
* | | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 4 | -34/+33 | |
|/ | ||||||
* | Touch up nameres doc comment | Aleksey Kladov | 2019-11-08 | 1 | -7/+6 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-08 | 1 | -9/+9 | |
| | ||||||
* | Extract path resolution submodule | Aleksey Kladov | 2019-11-08 | 3 | -243/+269 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2019-11-08 | 2 | -7/+5 | |
| | | | | | There's only one call-site for the function, so it seems fine to inline | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-08 | 1 | -23/+23 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 | |
| | ||||||
* | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 1 | -8/+0 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2019-11-04 | 2 | -6/+10 | |
| | ||||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 5 | -8/+4 | |
| | ||||||
* | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 2 | -0/+4 | |
| | ||||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 1 | -1/+48 | |
| | ||||||
* | Restore crate_def_map marks | Aleksey Kladov | 2019-11-03 | 9 | -26/+41 | |
| | ||||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 9 | -1/+2219 | |
| | ||||||
* | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 3 | -10/+53 | |
| | | | | The goal here is to share more testing infrastructure between crates. | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 7 | -6/+1469 | |
| | ||||||
* | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -16/+1 | |
| | ||||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 3 | -1/+142 | |
| | ||||||
* | add ModuleDefId to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -2/+56 | |
| | ||||||
* | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -0/+64 | |
| | ||||||
* | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -0/+79 | |
| | ||||||
* | improve compile time a bit | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 | |
| |