aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #2362bors[bot]2019-11-252-0/+39
|\ | | | | | | | | | | | | | | 2362: Expand compile_error! r=edwin0cheng a=kjeremy Does not validate that the input is a string literal. I thought that I could `match_ast!` against the `macro_args` but that did not work. Even if it had I am not sure which error would be appropriate. Co-authored-by: Jeremy Kolb <[email protected]>
| * Expand compile_error!Jeremy Kolb2019-11-252-0/+39
| |
* | Fix panic during the expansion of `column!`Marco Groppo2019-11-241-5/+16
|/
* Use macro for all the thingsEdwin Cheng2019-11-231-48/+31
|
* Rename BuiltinExpander to BuiltinFnLikeExpanderEdwin Cheng2019-11-233-14/+14
|
* Refactor builtin macroEdwin Cheng2019-11-221-18/+124
|
* Add TestDBEdwin Cheng2019-11-222-0/+53
|
* Expand column!()Jeremy Kolb2019-11-222-1/+44
|
* Expand file! to dummy ""kjeremy2019-11-222-1/+26
|
* Add support for Stringify builtin macroPiotr Szpetkowski2019-11-222-0/+28
|
* Add MacroFileKind::StatementsEdwin Cheng2019-11-212-0/+2
|
* Rename with_ast -> with_valueAleksey Kladov2019-11-201-4/+4
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-202-17/+21
|
* Fixed a bug for string lit in quoteEdwin Cheng2019-11-191-4/+4
|
* Collapse TokenMap and RevTokenMapAleksey Kladov2019-11-182-7/+5
|
* Token-based reverse-mappingAleksey Kladov2019-11-181-29/+22
|
* More correct expansion mappingAleksey Kladov2019-11-171-14/+30
| | | | We can't really map arbitrary ranges, we only can map tokens
* Make shift an implementation detail of mbeAleksey Kladov2019-11-172-9/+16
|
* Don't store shift redundantlyAleksey Kladov2019-11-171-6/+5
|
* Goto definition works inside macrosAleksey Kladov2019-11-161-0/+9
|
* Prepare SourceAnalyzer for macrosAleksey Kladov2019-11-151-2/+8
|
* Sourcify some moreAleksey Kladov2019-11-151-0/+2
|
* Sourcify some thingsAleksey Kladov2019-11-151-0/+4
| | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere...
* Heed the advice of rustc's into_iter() warningmemoryruins2019-11-151-4/+2
|
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-141-1/+4
|
* Add MacroDefKindEdwin Cheng2019-11-114-35/+19
|
* Add line macro and testsEdwin Cheng2019-11-112-7/+65
|
* Add quote macroEdwin Cheng2019-11-112-0/+262
|
* Add basic bultin macro infrastructureEdwin Cheng2019-11-115-22/+109
|
* Remove typed macro parsing APIAleksey Kladov2019-11-091-8/+7
| | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type
* Minor cleanupAleksey Kladov2019-11-091-6/+8
|
* Remove map_ranges in RevTokenMapEdwin Cheng2019-11-092-34/+33
|
* Refactor and simpfilyEdwin Cheng2019-11-082-82/+38
|
* Refactor and add more commentsEdwin Cheng2019-11-081-8/+6
|
* Refactor a bitEdwin Cheng2019-11-041-2/+1
|
* Use macro_rules shift to map text rangesEdwin Cheng2019-11-041-4/+9
|
* Use ? and destructing to simplifed long codeEdwin Cheng2019-11-041-19/+17
|
* Rename and fix typosEdwin Cheng2019-11-042-10/+20
|
* Remove dbg!Edwin Cheng2019-11-041-4/+0
|
* Add parent_expansion to HirFileIdEdwin Cheng2019-11-041-0/+19
|
* Add macro_expansion_info in hir_expandEdwin Cheng2019-11-042-19/+109
|
* Move diagnostics to hir_expandAleksey Kladov2019-11-022-0/+86
|
* Move Source to hir_expandAleksey Kladov2019-11-021-1/+19
|
* move hygiene to hir_expandAleksey Kladov2019-10-302-11/+47
|
* push name down to hir_expandAleksey Kladov2019-10-302-0/+143
|
* push either to hir_expandAleksey Kladov2019-10-302-0/+55
|
* move raw_items to hir_defAleksey Kladov2019-10-301-4/+4
|
* cleanupAleksey Kladov2019-10-291-14/+8
|
* switch expand to dyn TraitAleksey Kladov2019-10-292-9/+9
|
* reduce visibilityAleksey Kladov2019-10-291-2/+2
|