aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ids.rs
Commit message (Collapse)AuthorAgeFilesLines
* reformat the worldAleksey Kladov2019-02-081-26/+8
|
* split HirDatabase apicsmoe2019-02-011-5/+9
|
* remove Option<SourceFileItemId> hackAleksey Kladov2019-01-261-3/+2
|
* store syntax ptr in FileItemsAleksey Kladov2019-01-261-19/+10
| | | | we cache the tree in file_item query anyway
* remove dead codeAleksey Kladov2019-01-261-4/+0
|
* rename source_file -> parseAleksey Kladov2019-01-261-6/+3
|
* switch to positional enum variantsAleksey Kladov2019-01-251-14/+1
|
* Kill DefIdAleksey Kladov2019-01-241-30/+10
|
* kill DefKindcAleksey Kladov2019-01-241-22/+2
|
* Migrate trait & type to new idsAleksey Kladov2019-01-241-17/+21
|
* generalizeAleksey Kladov2019-01-241-4/+17
|
* move consts&statics to new idAleksey Kladov2019-01-241-11/+21
|
* remove boilerplateAleksey Kladov2019-01-241-32/+46
|
* generalize boilerplateAleksey Kladov2019-01-241-18/+31
|
* remove dead codeAleksey Kladov2019-01-241-11/+1
|
* move enum variant to the new APIAleksey Kladov2019-01-241-3/+12
|
* remove useless aliasesAleksey Kladov2019-01-241-30/+6
|
* migrate enums to new idAleksey Kladov2019-01-241-18/+11
|
* introduce EnumIdAleksey Kladov2019-01-241-0/+19
|
* new struct idAleksey Kladov2019-01-241-5/+2
|
* add StructIdAleksey Kladov2019-01-241-0/+19
|
* remove DefKind::FunctionAleksey Kladov2019-01-241-2/+0
|
* Functions use new id schemeAleksey Kladov2019-01-241-16/+50
|
* add FunctionIdAleksey Kladov2019-01-241-0/+23
|
* Change ids strategyAleksey Kladov2019-01-241-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 locationsAleksey Kladov2019-01-241-14/+20
|
* assign DefIds when loweringAleksey Kladov2019-01-231-19/+2
|
* Make Module impl methods crate-private, update some commentsFlorian Diebold2019-01-191-0/+9
|
* remove Cancelable from idsAleksey Kladov2019-01-151-12/+8
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-151-4/+3
|
* remove Cancelable from Module API, part 2Aleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from source bindersAleksey Kladov2019-01-151-2/+6
|
* actually produce missing def kindsAleksey Kladov2019-01-111-6/+26
|
* rename TreePtr -> TreeArcAleksey Kladov2019-01-111-5/+5
| | | | This is much clearer about the semantics
* Use name resolution for goto definitionFlorian Diebold2019-01-101-1/+7
|
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-6/+7
|
* Merge #473bors[bot]2019-01-091-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 cratesMarcus Klaas de Vries2019-01-091-6/+6
| | | | | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* | more stable DefIds via bfs tree walkingAleksey Kladov2019-01-081-2/+19
|/
* Merge #458bors[bot]2019-01-081-1/+4
|\ | | | | | | | | | | | | | | 458: dont reexport module id r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * dont reexport module idAleksey Kladov2019-01-081-1/+4
| |
* | switch interner to use arenaAleksey Kladov2019-01-081-4/+4
|/
* migrate ra_hir to rowan 2.0Aleksey Kladov2019-01-081-12/+15
|
* kill old moduleAleksey Kladov2019-01-061-4/+6
|
* Do impl collection per module, not per crateFlorian Diebold2019-01-041-2/+3
|
* Add HIR for impl blocksFlorian Diebold2019-01-041-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 arenaAleksey Kladov2019-01-041-6/+6
|
* index stuff produced by macrosAleksey Kladov2019-01-031-0/+7
|
* small renameAleksey Kladov2019-01-021-2/+2
|
* commentsAleksey Kladov2019-01-021-0/+3
|