aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Proper handling $crate and local_inner_macros"Jonas Schievink2021-01-031-4/+7
|
* Introduce HygieneFrames for proper token hygineeEdwin Cheng2021-01-021-7/+4
|
* Store invocation site for eager macrosJonas Schievink2020-12-221-14/+13
|
* Make macro def krate mandatoryJonas Schievink2020-12-151-7/+1
| | | | Refactors builtin derive support to go through proper name resolution
* Basic support for decl macros 2.0Jonas Schievink2020-12-151-2/+5
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-1/+1
|
* Fix logic for determining macro callsJonas Schievink2020-12-081-9/+7
| | | | | | I believe this currently goes back all the way to the initial user-written call, but that seems better than the current broken behavior.
* Make `original_range` a method on `InFile<&SyntaxNode>`Jonas Schievink2020-12-081-3/+69
|
* Fix proc macro token mappingJonas Schievink2020-12-031-6/+16
|
* Publish diagnostics for macro expansion errorsJonas Schievink2020-11-271-1/+1
|
* Use `ExpandResult` instead of `MacroResult`Jonas Schievink2020-11-261-0/+2
| | | | `MacroResult` is redundant
* Rename `parse_macro` to `parse_macro_expansion`Jonas Schievink2020-11-241-1/+1
| | | | This does not parse macros, it expands a macro and parses the *result*
* hir_expand: propagate expansion errorsJonas Schievink2020-11-241-1/+1
|
* Rename `CustomDerive` to `ProcMacro`Jonas Schievink2020-09-181-1/+1
| | | | | It handles fn-like macros too, and will handle attribute macros in the future
* Rename ra_hir_expand -> hir_expandAleksey Kladov2020-08-131-0/+453