File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SwiftSyntaxMacros Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,17 +60,17 @@ struct MacroSystem {
60
60
}
61
61
62
62
/// Syntax rewriter that evaluates any macros encountered along the way.
63
- class MacroApplication : SyntaxRewriter {
63
+ class MacroApplication < Context : MacroExpansionContext > : SyntaxRewriter {
64
64
let macroSystem : MacroSystem
65
- var context : MacroExpansionContext
65
+ var context : Context
66
66
var skipNodes : Set < Syntax > = [ ]
67
67
68
68
/// A stack of member attribute macos to expand when iterating over a `MemberDeclListSyntax`.
69
69
var memberAttributeMacros : [ ( [ ( AttributeSyntax , MemberAttributeMacro . Type ) ] , DeclSyntax ) ] = [ ]
70
70
71
71
init (
72
72
macroSystem: MacroSystem ,
73
- context: MacroExpansionContext
73
+ context: Context
74
74
) {
75
75
self . macroSystem = macroSystem
76
76
self . context = context
You can’t perform that action at this time.
0 commit comments