aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ptr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-1/+1
|
* Convert code to text-sizeAleksey Kladov2020-04-251-1/+1
|
* minorAleksey Kladov2020-04-231-4/+0
|
* Fully get rid of SyntaxNodePtr::rangeAleksey Kladov2020-04-231-3/+3
|
* Don't expose SyntaxNodePtr impl detailsAleksey Kladov2020-04-161-6/+2
|
* Forward compatAleksey Kladov2020-04-101-9/+8
|
* DynMapAleksey Kladov2019-12-061-2/+12
| | | | | This might, or might not help us to reduce boilerplate associated with plumbing values from analysis to the IDE layer
* Next gen IDs for functionsAleksey Kladov2019-11-201-1/+9
| | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-031-2/+3
|
* Add an expr_source method analogous to the source methods in the code modelFlorian Diebold2019-09-021-3/+2
| | | | ... and use that instead of exposing the source map.
* Cast SyntaxNodePtr to AstPtr directlyPhil Ellison2019-08-251-0/+7
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-1/+1
|
* rename range -> text_rangeAleksey Kladov2019-07-201-3/+3
|
* cleanup castsAleksey Kladov2019-07-191-6/+2
|
* several highlighting cleanupsAleksey Kladov2019-07-191-0/+11
| | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-5/+6
|
* use more correct phantom types for ptrsAleksey Kladov2019-07-181-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+2
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* remove old parsing methodsAleksey Kladov2019-05-281-1/+1
|
* make AstId untypedAleksey Kladov2019-05-131-7/+8
|
* start structured editing APIAleksey Kladov2019-04-211-1/+1
|
* replace usages of `algo::generate` with `iter::successors` from stdRobin Freyler2019-04-131-4/+5
|
* allow dyn diagnosticsAleksey Kladov2019-03-251-0/+6
|
* reformat the worldAleksey Kladov2019-02-081-15/+4
|
* minor renameAleksey Kladov2019-01-241-4/+4
|
* introduced better typed AstPtrAleksey Kladov2019-01-231-0/+34
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-0/+53