Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 1 | -1/+4 | |
| | | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions. | |||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -8/+8 | |
| | ||||||
* | remove query_definitions | Aleksey Kladov | 2019-02-11 | 1 | -3/+18 | |
| | ||||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -26/+8 | |
| | ||||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -5/+9 | |
| | ||||||
* | remove Option<SourceFileItemId> hack | Aleksey Kladov | 2019-01-26 | 1 | -3/+2 | |
| | ||||||
* | store syntax ptr in FileItems | Aleksey Kladov | 2019-01-26 | 1 | -19/+10 | |
| | | | | we cache the tree in file_item query anyway | |||||
* | remove dead code | Aleksey Kladov | 2019-01-26 | 1 | -4/+0 | |
| | ||||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -6/+3 | |
| | ||||||
* | switch to positional enum variants | Aleksey Kladov | 2019-01-25 | 1 | -14/+1 | |
| | ||||||
* | Kill DefId | Aleksey Kladov | 2019-01-24 | 1 | -30/+10 | |
| | ||||||
* | kill DefKindc | Aleksey Kladov | 2019-01-24 | 1 | -22/+2 | |
| | ||||||
* | Migrate trait & type to new ids | Aleksey Kladov | 2019-01-24 | 1 | -17/+21 | |
| | ||||||
* | generalize | Aleksey Kladov | 2019-01-24 | 1 | -4/+17 | |
| | ||||||
* | move consts&statics to new id | Aleksey Kladov | 2019-01-24 | 1 | -11/+21 | |
| | ||||||
* | remove boilerplate | Aleksey Kladov | 2019-01-24 | 1 | -32/+46 | |
| | ||||||
* | generalize boilerplate | Aleksey Kladov | 2019-01-24 | 1 | -18/+31 | |
| | ||||||
* | remove dead code | Aleksey Kladov | 2019-01-24 | 1 | -11/+1 | |
| | ||||||
* | move enum variant to the new API | Aleksey Kladov | 2019-01-24 | 1 | -3/+12 | |
| | ||||||
* | remove useless aliases | Aleksey Kladov | 2019-01-24 | 1 | -30/+6 | |
| | ||||||
* | migrate enums to new id | Aleksey Kladov | 2019-01-24 | 1 | -18/+11 | |
| | ||||||
* | introduce EnumId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | ||||||
* | new struct id | Aleksey Kladov | 2019-01-24 | 1 | -5/+2 | |
| | ||||||
* | add StructId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | ||||||
* | remove DefKind::Function | Aleksey Kladov | 2019-01-24 | 1 | -2/+0 | |
| | ||||||
* | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 1 | -16/+50 | |
| | ||||||
* | add FunctionId | Aleksey Kladov | 2019-01-24 | 1 | -0/+23 | |
| | ||||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -16/+6 | |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | |||||
* | encapsulate hir locations | Aleksey Kladov | 2019-01-24 | 1 | -14/+20 | |
| | ||||||
* | assign DefIds when lowering | Aleksey Kladov | 2019-01-23 | 1 | -19/+2 | |
| | ||||||
* | Make Module impl methods crate-private, update some comments | Florian Diebold | 2019-01-19 | 1 | -0/+9 | |
| | ||||||
* | remove Cancelable from ids | Aleksey Kladov | 2019-01-15 | 1 | -12/+8 | |
| | ||||||
* | remove Cancelable from navigation target | Aleksey Kladov | 2019-01-15 | 1 | -4/+3 | |
| | ||||||
* | remove Cancelable from Module API, part 2 | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 | |
| | ||||||
* | remove Cancelable from source binders | Aleksey Kladov | 2019-01-15 | 1 | -2/+6 | |
| | ||||||
* | actually produce missing def kinds | Aleksey Kladov | 2019-01-11 | 1 | -6/+26 | |
| | ||||||
* | rename TreePtr -> TreeArc | Aleksey Kladov | 2019-01-11 | 1 | -5/+5 | |
| | | | | This is much clearer about the semantics | |||||
* | Use name resolution for goto definition | Florian Diebold | 2019-01-10 | 1 | -1/+7 | |
| | ||||||
* | Implement type inference for enum variants | Marcus Klaas de Vries | 2019-01-10 | 1 | -6/+7 | |
| | ||||||
* | Merge #473 | bors[bot] | 2019-01-09 | 1 | -6/+6 | |
|\ | | | | | | | | | | | | | | | 473: Partial typo fix r=matklad a=marcusklaas This fixes some typos. Mostly in documentation, but also some code is affected (`defenition` was used in a few method names). Co-authored-by: Marcus Klaas de Vries <[email protected]> | |||||
| * | Fix typos in ARCHITECTURE.md and a number of crates | Marcus Klaas de Vries | 2019-01-09 | 1 | -6/+6 | |
| | | | | | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir | |||||
* | | more stable DefIds via bfs tree walking | Aleksey Kladov | 2019-01-08 | 1 | -2/+19 | |
|/ | ||||||
* | Merge #458 | bors[bot] | 2019-01-08 | 1 | -1/+4 | |
|\ | | | | | | | | | | | | | | | 458: dont reexport module id r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | dont reexport module id | Aleksey Kladov | 2019-01-08 | 1 | -1/+4 | |
| | | ||||||
* | | switch interner to use arena | Aleksey Kladov | 2019-01-08 | 1 | -4/+4 | |
|/ | ||||||
* | migrate ra_hir to rowan 2.0 | Aleksey Kladov | 2019-01-08 | 1 | -12/+15 | |
| | ||||||
* | kill old module | Aleksey Kladov | 2019-01-06 | 1 | -4/+6 | |
| | ||||||
* | Do impl collection per module, not per crate | Florian Diebold | 2019-01-04 | 1 | -2/+3 | |
| | ||||||
* | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 1 | -1/+12 | |
| | | | | | | | | | 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. | |||||
* | remove id arena | Aleksey Kladov | 2019-01-04 | 1 | -6/+6 | |
| |