aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/semantics.rs
Commit message (Collapse)AuthorAgeFilesLines
* ?Jonas Schievink2020-04-291-5/+1
|
* Use or-patterns moreJonas Schievink2020-04-291-10/+9
|
* Remove `.clone()`Jonas Schievink2020-04-291-8/+8
|
* Rename to associated_type_shorthand_candidatesJonas Schievink2020-04-291-2/+2
|
* Complete assoc. items on type parametersJonas Schievink2020-04-291-1/+46
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-18/+9
|
* Convert code to text-sizeAleksey Kladov2020-04-251-9/+9
|
* Fix goto definition for record patternsAleksey Kladov2020-04-181-0/+4
|
* Correctly highlight ranges of diagnostics from macrosAleksey Kladov2020-04-171-0/+8
| | | | closes #2799
* Move computation of missing fields into hirAleksey Kladov2020-04-071-9/+19
|
* Check for eprintln on CIAleksey Kladov2020-04-061-1/+1
|
* Always expand macros during analysisAleksey Kladov2020-03-251-3/+3
|
* Fix typoEdwin Cheng2020-03-221-1/+1
| | | Co-Authored-By: Veetaha <[email protected]>
* Add find_node_at_offset_with_descendEdwin Cheng2020-03-221-1/+28
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-11/+11
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Restore cargo-fmt gatingAleksey Kladov2020-03-131-2/+2
|
* fix issue 3444Josh Mcguigan2020-03-131-1/+7
|
* Move hypothetical expansion to hir_expandFlorian Diebold2020-03-081-21/+3
|
* Try to complete within macrosFlorian Diebold2020-03-071-2/+53
|
* Move PathResolutionAleksey Kladov2020-03-051-2/+15
|
* Remove old find refs infraAleksey Kladov2020-03-041-7/+1
|
* More principled approach for gotodef for field shorhandAleksey Kladov2020-03-021-2/+5
| | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local.
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-1/+1
|
* Handle tuple fields as wellAleksey Kladov2020-02-291-0/+1
|
* Simplify SourceBinderAleksey Kladov2020-02-291-61/+40
|
* Reduce visibilityAleksey Kladov2020-02-281-1/+1
|
* Merge #3367bors[bot]2020-02-281-2/+6
|\ | | | | | | | | | | | | | | | | | | | | 3367: Fix highlighting of const patterns r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix highlighting of const patternsAleksey Kladov2020-02-281-2/+6
| |
* | Simpilfy origin_range logicEdwin Cheng2020-02-281-38/+27
|/
* Use text_range::extend_toEdwin Cheng2020-02-271-10/+3
|
* Skip trival token in original_rangeEdwin Cheng2020-02-261-5/+7
|
* Remove duplicate commentEdwin Cheng2020-02-261-1/+0
|
* Add recursive support in original_rangeEdwin Cheng2020-02-261-14/+37
|
* Reduce visibilityAleksey Kladov2020-02-261-6/+66
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-0/+335
This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.