Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | adjust comments | Aleksey Kladov | 2019-01-06 | 1 | -5/+7 | |
| | | ||||||
* | | split module source into decl/defin | Aleksey Kladov | 2019-01-06 | 4 | -28/+102 | |
| | | ||||||
* | | kill old module | Aleksey Kladov | 2019-01-06 | 7 | -233/+66 | |
| | | ||||||
* | | add parent & resolve_path | Aleksey Kladov | 2019-01-06 | 4 | -5/+67 | |
| | | ||||||
* | | make source cancelable | Aleksey Kladov | 2019-01-06 | 1 | -2/+2 | |
| | | ||||||
* | | make deps cancelable | Aleksey Kladov | 2019-01-06 | 2 | -3/+3 | |
| | | ||||||
* | | fix tests | Aleksey Kladov | 2019-01-06 | 3 | -4/+29 | |
| | | ||||||
* | | switch source-binders to Module | Aleksey Kladov | 2019-01-06 | 2 | -9/+20 | |
| | | ||||||
* | | Start code_model::Module | Aleksey Kladov | 2019-01-06 | 4 | -7/+83 | |
| | | ||||||
* | | move crate to code_model_api | Aleksey Kladov | 2019-01-06 | 3 | -21/+34 | |
| | | ||||||
* | | Add fn signature query | Florian Diebold | 2019-01-06 | 7 | -7/+85 | |
| | | ||||||
* | | Various small code review improvements | Florian Diebold | 2019-01-05 | 3 | -26/+27 | |
| | | ||||||
* | | Make FnScopes use hir::Expr | Florian Diebold | 2019-01-05 | 8 | -282/+514 | |
| | | | | | | | | | | | | This was a bit complicated. I've added a wrapper type for now that does the LocalSyntaxPtr <-> ExprId translation; we might want to get rid of that or give it a nicer interface. | |||||
* | | Add HIR Expr machinery | Florian Diebold | 2019-01-05 | 5 | -0/+528 | |
| | | ||||||
* | | Add test for invalidation of inferred types when typing inside function | Florian Diebold | 2019-01-05 | 2 | -0/+58 | |
|/ | | | | This currently fails, but should work once we have hir::Expr. | |||||
* | Rename ImplsInCrateQuery as well | Florian Diebold | 2019-01-04 | 2 | -2/+2 | |
| | ||||||
* | Do impl collection per module, not per crate | Florian Diebold | 2019-01-04 | 3 | -33/+32 | |
| | ||||||
* | Rename ImplBlock::target -> target_type, and add target_trait already | Florian Diebold | 2019-01-04 | 2 | -7/+17 | |
| | ||||||
* | Refactor a bit | Florian Diebold | 2019-01-04 | 1 | -58/+62 | |
| | ||||||
* | Resolve the Self type | Florian Diebold | 2019-01-04 | 3 | -24/+71 | |
| | ||||||
* | Resolve the self parameter during type inference | Florian Diebold | 2019-01-04 | 3 | -4/+19 | |
| | ||||||
* | Type the self parameter | Florian Diebold | 2019-01-04 | 3 | -7/+37 | |
| | ||||||
* | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 8 | -5/+225 | |
| | | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it. | |||||
* | Add test for self type inference | Florian Diebold | 2019-01-04 | 2 | -0/+23 | |
| | ||||||
* | Rename ImplItem to ImplBlock | Florian Diebold | 2019-01-04 | 1 | -1/+1 | |
| | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. | |||||
* | remove id arena | Aleksey Kladov | 2019-01-04 | 5 | -85/+23 | |
| | ||||||
* | index stuff produced by macros | Aleksey Kladov | 2019-01-03 | 3 | -5/+49 | |
| | ||||||
* | hardcode vec macro | Aleksey Kladov | 2019-01-03 | 1 | -0/+18 | |
| | ||||||
* | simplify runnables | Aleksey Kladov | 2019-01-02 | 1 | -1/+1 | |
| | ||||||
* | small rename | Aleksey Kladov | 2019-01-02 | 2 | -3/+3 | |
| | ||||||
* | comments | Aleksey Kladov | 2019-01-02 | 3 | -12/+35 | |
| | ||||||
* | rename | Aleksey Kladov | 2019-01-02 | 2 | -2/+2 | |
| | ||||||
* | move macro id to ids | Aleksey Kladov | 2019-01-01 | 5 | -40/+40 | |
| | ||||||
* | move more stuff to ids | Aleksey Kladov | 2019-01-01 | 6 | -185/+183 | |
| | ||||||
* | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 10 | -95/+131 | |
| | ||||||
* | introduce ids module | Aleksey Kladov | 2019-01-01 | 2 | -14/+34 | |
| | ||||||
* | add tests for macro generated items | Aleksey Kladov | 2019-01-01 | 1 | -1/+83 | |
| | ||||||
* | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 1 | -12/+36 | |
| | ||||||
* | wip | Aleksey Kladov | 2019-01-01 | 2 | -47/+49 | |
| | ||||||
* | fix tests | Aleksey Kladov | 2019-01-01 | 3 | -2/+3 | |
| | ||||||
* | use MFile | Aleksey Kladov | 2019-01-01 | 7 | -30/+62 | |
| | ||||||
* | introduce MFileId | Aleksey Kladov | 2019-01-01 | 1 | -0/+7 | |
| | ||||||
* | work towards brining macros to nameres | Aleksey Kladov | 2019-01-01 | 2 | -3/+16 | |
| | ||||||
* | save top-level macros in module items | Aleksey Kladov | 2019-01-01 | 2 | -13/+17 | |
| | ||||||
* | hard-code expansion of query_group | Aleksey Kladov | 2019-01-01 | 1 | -7/+37 | |
| | ||||||
* | fix tests | Aleksey Kladov | 2019-01-01 | 2 | -2/+9 | |
| | ||||||
* | rename | Aleksey Kladov | 2019-01-01 | 3 | -15/+15 | |
| | ||||||
* | move more macros to hir | Aleksey Kladov | 2019-01-01 | 3 | -42/+113 | |
| | ||||||
* | use macros database in analysis | Aleksey Kladov | 2019-01-01 | 2 | -6/+48 | |
| | ||||||
* | introduce MacrosDatabase | Aleksey Kladov | 2019-01-01 | 2 | -0/+58 | |
| |