Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add profile calls to parsing/expansion routines | Aleksey Kladov | 2019-05-22 | 1 | -0/+2 |
| | |||||
* | allow expanding expressions | Aleksey Kladov | 2019-05-14 | 1 | -0/+4 |
| | |||||
* | expand to syntax node | Aleksey Kladov | 2019-05-14 | 1 | -12/+12 |
| | |||||
* | store macro kind in HirFileId | Aleksey Kladov | 2019-05-14 | 1 | -15/+28 |
| | |||||
* | Move Chalk conversion code to its own module | Florian Diebold | 2019-05-04 | 1 | -46/+4 |
| | |||||
* | Chalk integration | Florian Diebold | 2019-05-04 | 1 | -0/+54 |
| | | | | | - add proper canonicalization logic - add conversions from/to Chalk IR | ||||
* | make macro expansion into a proper query | Aleksey Kladov | 2019-05-04 | 1 | -21/+22 |
| | |||||
* | minor, move | Aleksey Kladov | 2019-05-04 | 1 | -19/+19 |
| | |||||
* | introduce macro_arg intermediate query | Aleksey Kladov | 2019-05-04 | 1 | -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 parse | Edwin Cheng | 2019-04-25 | 1 | -2/+8 |
| | |||||
* | Add mbe expand limit and poision macro set | Edwin Cheng | 2019-04-22 | 1 | -0/+7 |
| | |||||
* | Add more information on parse_macro fail | Edwin Cheng | 2019-04-21 | 1 | -10/+27 |
| | |||||
* | Fix bugs | Edwin Cheng | 2019-04-20 | 1 | -2/+22 |
| | |||||
* | migrate to salsas interning | Aleksey Kladov | 2019-04-09 | 1 | -68/+77 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-03-26 | 1 | -10/+10 |
| | |||||
* | rename | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | simplify | Aleksey Kladov | 2019-03-26 | 1 | -3/+4 |
| | |||||
* | more type safety | Aleksey Kladov | 2019-03-26 | 1 | -20/+12 |
| | |||||
* | strongy-typed ids for macros | Aleksey Kladov | 2019-03-26 | 1 | -12/+6 |
| | |||||
* | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -111/+3 |
| | |||||
* | make macro parsing a query | Aleksey Kladov | 2019-03-26 | 1 | -3/+3 |
| | |||||
* | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 1 | -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 database | Aleksey Kladov | 2019-03-23 | 1 | -17/+11 |
| | |||||
* | Fixed typo in `Interner`’s name (`Intener`) | Vincent Esche | 2019-03-20 | 1 | -17/+17 |
| | |||||
* | remove old macro support | Aleksey Kladov | 2019-03-17 | 1 | -6/+19 |
| | |||||
* | rename ModuleId -> CrateModuleId | Aleksey Kladov | 2019-03-17 | 1 | -0/+1 |
| | |||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 1 | -7/+0 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 1 | -0/+6 |
| | |||||
* | add skeleton for macro-aware name resolutions | Aleksey Kladov | 2019-03-17 | 1 | -9/+18 |
| | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -3/+3 |
| | |||||
* | Handle impl generics in method calls | Florian Diebold | 2019-02-16 | 1 | -2/+1 |
| | |||||
* | Turn ImplBlock into a copy type just containing IDs | Florian Diebold | 2019-02-16 | 1 | -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 typos | Pascal Hertleif | 2019-02-12 | 1 | -8/+8 |
| | |||||
* | remove query_definitions | Aleksey Kladov | 2019-02-11 | 1 | -3/+18 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -26/+8 |
| | |||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -5/+9 |
| | |||||
* | remove Option<SourceFileItemId> hack | Aleksey Kladov | 2019-01-26 | 1 | -3/+2 |
| | |||||
* | store syntax ptr in FileItems | Aleksey Kladov | 2019-01-26 | 1 | -19/+10 |
| | | | | we cache the tree in file_item query anyway | ||||
* | remove dead code | Aleksey Kladov | 2019-01-26 | 1 | -4/+0 |
| | |||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -6/+3 |
| | |||||
* | switch to positional enum variants | Aleksey Kladov | 2019-01-25 | 1 | -14/+1 |
| | |||||
* | Kill DefId | Aleksey Kladov | 2019-01-24 | 1 | -30/+10 |
| | |||||
* | kill DefKindc | Aleksey Kladov | 2019-01-24 | 1 | -22/+2 |
| | |||||
* | Migrate trait & type to new ids | Aleksey Kladov | 2019-01-24 | 1 | -17/+21 |
| | |||||
* | generalize | Aleksey Kladov | 2019-01-24 | 1 | -4/+17 |
| | |||||
* | move consts&statics to new id | Aleksey Kladov | 2019-01-24 | 1 | -11/+21 |
| | |||||
* | remove boilerplate | Aleksey Kladov | 2019-01-24 | 1 | -32/+46 |
| | |||||
* | generalize boilerplate | Aleksey Kladov | 2019-01-24 | 1 | -18/+31 |
| | |||||
* | remove dead code | Aleksey Kladov | 2019-01-24 | 1 | -11/+1 |
| | |||||
* | move enum variant to the new API | Aleksey Kladov | 2019-01-24 | 1 | -3/+12 |
| |