aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ids.rs
Commit message (Collapse)AuthorAgeFilesLines
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-221-0/+2
|
* allow expanding expressionsAleksey Kladov2019-05-141-0/+4
|
* expand to syntax nodeAleksey Kladov2019-05-141-12/+12
|
* store macro kind in HirFileIdAleksey Kladov2019-05-141-15/+28
|
* Move Chalk conversion code to its own moduleFlorian Diebold2019-05-041-46/+4
|
* Chalk integrationFlorian Diebold2019-05-041-0/+54
| | | | | - add proper canonicalization logic - add conversions from/to Chalk IR
* make macro expansion into a proper queryAleksey Kladov2019-05-041-21/+22
|
* minor, moveAleksey Kladov2019-05-041-19/+19
|
* introduce macro_arg intermediate queryAleksey Kladov2019-05-041-5/+9
| | | | | | | | | | | | Currently, when expanding macros, we look at the source code directly (we invoke ast_id_to_node query via to_node method). This is less then ideal, because it make us re-expand macros after every source change. This commit establishes a salsa-firewall: a query to get macro call's token tree. Unlike the syntax tree, token tree changes only if we actually modify the macro itself.
* Add more information on macro rules fail to parseEdwin Cheng2019-04-251-2/+8
|
* Add mbe expand limit and poision macro setEdwin Cheng2019-04-221-0/+7
|
* Add more information on parse_macro failEdwin Cheng2019-04-211-10/+27
|
* Fix bugsEdwin Cheng2019-04-201-2/+22
|
* migrate to salsas interningAleksey Kladov2019-04-091-68/+77
|
* reduce visibilityAleksey Kladov2019-03-261-10/+10
|
* renameAleksey Kladov2019-03-261-1/+1
|
* simplifyAleksey Kladov2019-03-261-3/+4
|
* more type safetyAleksey Kladov2019-03-261-20/+12
|
* strongy-typed ids for macrosAleksey Kladov2019-03-261-12/+6
|
* move source_id to a separate fileAleksey Kladov2019-03-261-111/+3
|
* make macro parsing a queryAleksey Kladov2019-03-261-3/+3
|
* store macro def inside macro idAleksey Kladov2019-03-261-5/+19
| | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def!
* rename persistent hir database -> def databaseAleksey Kladov2019-03-231-17/+11
|
* Fixed typo in `Interner`’s name (`Intener`)Vincent Esche2019-03-201-17/+17
|
* remove old macro supportAleksey Kladov2019-03-171-6/+19
|
* rename ModuleId -> CrateModuleIdAleksey Kladov2019-03-171-0/+1
|
* remove lower moduleAleksey Kladov2019-03-171-7/+0
|
* Replace module_tree with CrateDefMapAleksey Kladov2019-03-171-0/+6
|
* add skeleton for macro-aware name resolutionsAleksey Kladov2019-03-171-9/+18
|
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-251-3/+3
|
* Handle impl generics in method callsFlorian Diebold2019-02-161-2/+1
|
* Turn ImplBlock into a copy type just containing IDsFlorian Diebold2019-02-161-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 typosPascal Hertleif2019-02-121-8/+8
|
* remove query_definitionsAleksey Kladov2019-02-111-3/+18
|
* 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
|