Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -1/+2 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -8/+8 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -0/+1 |
| | | | | This allows us to get rid of trait item index | ||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def | ||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -6/+6 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -2/+32 |
| | |||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -0/+1 |
| | |||||
* | Slightly better naming | Aleksey Kladov | 2019-11-14 | 1 | -9/+6 |
| | |||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 1 | -19/+9 |
| | |||||
* | Move expansion to Expander | Aleksey Kladov | 2019-11-14 | 1 | -2/+34 |
| | |||||
* | Move parse_path to Expander | Aleksey Kladov | 2019-11-14 | 1 | -0/+4 |
| | |||||
* | Expansion stack scaffold | Aleksey Kladov | 2019-11-14 | 1 | -2/+35 |
| | |||||
* | Add Expader::to_source | Aleksey Kladov | 2019-11-14 | 1 | -0/+4 |
| | |||||
* | Move original_file to Expander | Aleksey Kladov | 2019-11-14 | 1 | -1/+7 |
| | |||||
* | Rename MacroResolver -> Expander | Aleksey Kladov | 2019-11-14 | 1 | -10/+6 |
| | |||||
* | Move current file to MacroResolver | Aleksey Kladov | 2019-11-14 | 1 | -4/+9 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-14 | 1 | -5/+1 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -0/+142 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -0/+2 |