Lukas Wirth
|
4e60db2d07
|
feat: Downmap tokens inside derive helpers
|
2022-07-26 09:26:47 +02:00 |
|
Lukas Wirth
|
9050db2e80
|
fix: Don't create hir::Local s from const path patterns
|
2022-04-09 01:08:13 +02:00 |
|
hkalbasi
|
b301b040f5
|
Add const generics
|
2022-03-14 14:38:37 +03:30 |
|
Lukas Wirth
|
c04b0f435b
|
Move hir to new MacroId
|
2022-03-08 23:51:48 +01:00 |
|
Lukas Wirth
|
c1f91c93b2
|
minor: Simplify
|
2022-03-06 17:56:02 +01:00 |
|
hkalbasi
|
4fa8749c44
|
Preserve order of generic args
|
2022-03-04 11:46:14 +03:30 |
|
Lukas Wirth
|
1bbef5af85
|
Fix syntax highlighting not highlighting derives anymore
|
2022-02-22 10:20:44 +01:00 |
|
Lukas Wirth
|
7b89d5ede2
|
internal: Expand the derive attribute into a pseudo expansion
|
2022-02-22 10:20:40 +01:00 |
|
Lukas Wirth
|
47591f0fb2
|
Remove InFile wrapping from DynMap keys
|
2022-01-08 12:16:44 +01:00 |
|
Lukas Wirth
|
6746ba5839
|
Record attribute calls on assoc items in TraitData and ImplData
|
2022-01-08 10:45:12 +01:00 |
|
Lukas Wirth
|
ca4baa6e55
|
Use FileAstId<ast::Adt> in nameres where appropriate instead
|
2022-01-07 14:20:27 +01:00 |
|
Lukas Wirth
|
aeb5d64912
|
Implement ToDef for ast::Attr
|
2022-01-02 23:44:26 +01:00 |
|
Lukas Wirth
|
44d61766b5
|
internal: Record unresolved derive invocations in hir
|
2022-01-01 20:43:25 +01:00 |
|
Lukas Wirth
|
8e084132f8
|
internal: Do less work in hir::Semantics
|
2021-12-21 13:38:58 +01:00 |
|
Lukas Wirth
|
a574434c3f
|
Simplify NameClass::classify
|
2021-12-20 13:47:06 +01:00 |
|
Lukas Wirth
|
7fdbdc4ab2
|
Enable auto-import and qualify-path in derive attributes
|
2021-10-28 18:40:38 +02:00 |
|
Lukas Wirth
|
b6ed91a6de
|
Rename *Owner traits to Has*
|
2021-09-27 12:54:24 +02:00 |
|
Lukas Wirth
|
0f4463e45e
|
fix source_to_def trying to use attribute macro calls as containers
|
2021-09-14 14:42:14 +02:00 |
|
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 |
|