Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 1 | -34/+1 |
| | |||||
* | Remove `as_original_file` | Shotaro Yamada | 2019-10-10 | 1 | -10/+0 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Support `$crate` in item and expr place. | uHOOCCOOHu | 2019-09-26 | 1 | -0/+11 |
| | |||||
* | Store crate info in `MacroDefId` | uHOOCCOOHu | 2019-09-26 | 1 | -3/+6 |
| | |||||
* | cleanup expansion to item list | Aleksey Kladov | 2019-09-10 | 1 | -1/+1 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 1 | -1/+4 |
| | |||||
* | flip syntax text to use internal iteration | Aleksey Kladov | 2019-07-19 | 1 | -1/+10 |
| | |||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -7/+7 |
| | |||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 1 | -7/+7 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -1/+1 |
| | | | | this is in preparation for the new rowan API | ||||
* | Clippy trivially_copy_pass_by_ref | Jeremy Kolb | 2019-07-05 | 1 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -6/+4 |
| | | | | | | 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 | ||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -9/+9 |
| | |||||
* | check for cancellation when executing queries | Aleksey Kladov | 2019-06-12 | 1 | -1/+0 |
| | | | | | | | Note that we can't just remove CheckCanceled trait altogether: sometimes it's useful to check for cancellation while the query is running! We do this, for example, in the name resolution fixed-point loop. | ||||
* | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 1 | -3/+3 |
| | |||||
* | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 1 | -25/+28 |
| | | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once. | ||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -14/+17 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | check cancellation when expanding macros | Aleksey Kladov | 2019-05-27 | 1 | -0/+1 |
| | |||||
* | 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 |
| |