aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add HIR for impl blocksFlorian Diebold2019-01-0411-8/+269
| | | | | | | | | 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 inferenceFlorian Diebold2019-01-042-0/+23
|
* Rename ImplItem to ImplBlockFlorian Diebold2019-01-0424-52/+51
| | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion.
* remove id arenaAleksey Kladov2019-01-047-87/+25
|
* extract area to a crateAleksey Kladov2019-01-048-94/+137
|
* add mod doc comments test in astcsmoe2019-01-041-0/+13
|
* parse doc comment for itemscsmoe2019-01-043-2/+15
|
* add mod doc comment testcsmoe2019-01-042-0/+22
|
* Merge #391bors[bot]2019-01-045-59/+117
|\ | | | | | | | | | | | | | | 391: docing parser methods r=csmoe a=csmoe Co-authored-by: csmoe <[email protected]>
| * consume trivias for type/const defcsmoe2019-01-041-2/+1
| |
| * doc parsing eventscsmoe2019-01-044-43/+71
| |
| * doc parser inputcsmoe2019-01-012-10/+30
| |
| * docing parser methodscsmoe2018-12-314-12/+23
| |
* | index stuff produced by macrosAleksey Kladov2019-01-035-16/+86
| |
* | construct index from symbols directlyAleksey Kladov2019-01-032-13/+17
| |
* | don't create many compilation units for testsAleksey Kladov2019-01-033-13/+5
| |
* | Merge #419bors[bot]2019-01-033-35/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | 419: file-id-to-symbol r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | embed file_id into FileSymbolAleksey Kladov2019-01-033-35/+34
| | |
* | | add pub(crate) works for named fieldsAleksey Kladov2019-01-031-18/+37
|/ /
* | Merge #416bors[bot]2019-01-0312-214/+286
|\ \ | | | | | | | | | | | | | | | | | | | | | 416: assist-builder r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix the testAleksey Kladov2019-01-032-6/+1
| | |
| * | more enterprisey assists APIAleksey Kladov2019-01-0311-210/+287
| | |
* | | fix testsBernardo2019-01-031-9/+14
| | |
* | | use lsp WorkspaceEdit instead of custom source_file_edits and file_system_editsBernardo2019-01-032-36/+37
|/ /
* | split assists over several filesAleksey Kladov2019-01-038-403/+488
| |
* | rename code-actions -> assistsAleksey Kladov2019-01-033-8/+8
| |
* | visibility ownerAleksey Kladov2019-01-033-4/+64
| |
* | hardcode vec macroAleksey Kladov2019-01-032-1/+27
| |
* | Merge #409bors[bot]2019-01-031-0/+79
|\ \ | | | | | | | | | | | | | | | | | | | | | 409: Add Analysis#teype_of test r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]>
| * | Deive type_of test from testsHirokazu Hata2019-01-032-17/+80
| | |
| * | Remove unnecessary mock functionsHirokazu Hata2019-01-031-27/+1
| | |
| * | Add Analysis#teype_of testHirokazu Hata2019-01-032-2/+44
| | |
* | | docsAleksey Kladov2019-01-032-3/+33
| | |
* | | use LocalPtr in navigation targetAleksey Kladov2019-01-034-7/+13
| | |
* | | use LocalSyntaxPtr for file symbolAleksey Kladov2019-01-033-53/+49
| | |
* | | move some logic to navigation targetAleksey Kladov2019-01-033-113/+127
| | |
* | | add kind to LocalSyntaxPtrAleksey Kladov2019-01-031-0/+4
| | |
* | | explain that completion shouldn't do filteringAleksey Kladov2019-01-031-1/+15
|/ /
* | Merge #407bors[bot]2019-01-026-124/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | 407: run r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | simplify runnablesAleksey Kladov2019-01-026-124/+64
| | |
* | | Merge #406bors[bot]2019-01-024-218/+203
|\| | | | | | | | | | | | | | | | | | | | | | | 406: Simplify r=matklad a=matklad Get rid of `AnalysisImpl` wrapper around salsa database. It was useful before we migrated by salsa, but it's long have been just a useless boilerplate. Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix compilationAleksey Kladov2019-01-022-2/+2
| | |
| * | doctringsAleksey Kladov2019-01-021-28/+62
| | |
| * | get rid of AnalysisImplAleksey Kladov2019-01-022-101/+80
| | |
| * | remove AnalysisHostImplAleksey Kladov2019-01-022-45/+26
| | |
| * | remove some methods from analysis implAleksey Kladov2019-01-022-22/+13
| | |
| * | move world-symbols to file_symbolsAleksey Kladov2019-01-023-42/+42
| | |
* | | extend selection inside a string literal should select a word firstgfreezy2019-01-022-5/+21
|/ /
* | Merge #404bors[bot]2019-01-029-298/+329
|\ \ | | | | | | | | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix testsAleksey Kladov2019-01-021-5/+5
| | |