Lukas Wirth
|
0f3617f76f
|
fix: Fix multiple derives in one attribute not expanding all in expand_macro
|
2021-08-26 03:32:45 +02:00 |
|
Lukas Wirth
|
d99b81f839
|
Expand derive macros under cursor in Expand Macro Recursively
|
2021-08-24 16:33:52 +02:00 |
|
Lukas Wirth
|
0336e9b25f
|
Flatten SourceToDefCache structure
|
2021-08-16 17:55:18 +02:00 |
|
Lukas Wirth
|
c90ecc5c26
|
Only add entries to SourceToDef dynmaps when they come from the same file
|
2021-08-16 17:07:25 +02:00 |
|
Lukas Wirth
|
0c0142f61a
|
Simplify
|
2021-08-16 16:12:20 +02:00 |
|
Lukas Wirth
|
37ad9cb2a5
|
Don't use non cache syntaxnodes in generate_function for lookups
|
2021-08-14 17:51:11 +02:00 |
|
Jade
|
e3a67ccec6
|
tree-wide: fix rustdoc warnings, add some links
|
2021-08-03 21:34:20 -07:00 |
|
Aleksey Kladov
|
9526c198f6
|
intenral: dont export impl details
|
2021-06-22 16:53:53 +03:00 |
|
Aleksey Kladov
|
2860f25ef3
|
minor: extend source_to_def docs
|
2021-06-22 16:12:01 +03:00 |
|
Aleksey Kladov
|
bf9ce9e65c
|
internal: document source_to_def and it's connection to Kotlin&Roslyn
|
2021-06-22 15:31:04 +03:00 |
|
Jonas Schievink
|
8482329d65
|
source_to_def: skip items with no def
|
2021-06-08 16:42:48 +02:00 |
|
Jonas Schievink
|
8d87f9b298
|
Handle attribute macros in descend_into_macros
|
2021-06-06 17:03:37 +02:00 |
|
Edwin Cheng
|
4520002b63
|
Unleash macro 2.0 in hightlight and more
|
2021-03-27 14:42:49 +08:00 |
|
Jonas Schievink
|
b84efbaacf
|
Make MacroDefId's AstId mandatory when possible
|
2021-03-18 15:37:14 +01:00 |
|
Lukas Wirth
|
11e9bc60a2
|
Move doc-comment highlight injection from AST to HIR
|
2021-03-16 18:57:47 +01:00 |
|
Lukas Wirth
|
2e3c156b0e
|
Return multiple modules in parent_module
|
2021-03-15 15:15:40 +01:00 |
|
Jonas Schievink
|
5c241b0766
|
Create all ModuleId s through a DefMap method
`ModuleId` needs to be able to represent blocks, and only the
associated `DefMap` will know how to construct that `ModuleId`
|
2021-01-25 15:21:33 +01:00 |
|
Jonas Schievink
|
3de8f57c51
|
Make ModuleId 's krate field private
|
2021-01-22 18:09:55 +01:00 |
|
Jonas Schievink
|
ce29730bc7
|
Obtain ModuleId 's DefMap through a method
|
2021-01-22 16:33:58 +01:00 |
|
Lukas Wirth
|
cb863390f2
|
Handle self/super/crate in PathSegment as NameRef
|
2021-01-15 19:21:23 +01:00 |
|
Lukas Wirth
|
0acdb73076
|
Add ConstParams to the HIR
|
2021-01-01 10:06:42 +01:00 |
|
Lukas Wirth
|
262b9c3982
|
Track labels in the HIR
|
2020-12-24 12:49:40 +01:00 |
|
Jonas Schievink
|
b238ddd21a
|
Make macro def krate mandatory
Refactors builtin derive support to go through proper name resolution
|
2020-12-15 20:33:05 +01:00 |
|
Jonas Schievink
|
c31c3246a8
|
Basic support for decl macros 2.0
|
2020-12-15 18:43:34 +01:00 |
|
Jonas Schievink
|
c1cb595382
|
Move to upstream macro_rules! model
|
2020-12-15 15:37:37 +01:00 |
|
Lukas Wirth
|
c6172f3f6d
|
Add LifetimeParam resolving to Semantics
|
2020-12-14 16:04:28 +01:00 |
|
Jonas Schievink
|
468b804856
|
Fix source_to_def for named enum variant fields
|
2020-10-09 02:57:35 +02:00 |
|
Aleksey Kladov
|
ae71a631fd
|
Rename ra_hir -> hir
|
2020-08-13 16:36:55 +02:00 |
|