mirror of
https://github.com/zhigang1992/swift-request.git
synced 2026-01-12 17:52:47 +08:00
15 lines
354 B
Swift
15 lines
354 B
Swift
import SwiftSyntax
|
|
import SwiftSyntaxMacros
|
|
import Foundation
|
|
import SwiftDiagnostics
|
|
|
|
public class ParamMacro: MemberMacro {
|
|
public static func expansion(
|
|
of node: AttributeSyntax,
|
|
providingMembersOf declaration: some DeclGroupSyntax,
|
|
in context: some MacroExpansionContext
|
|
) throws -> [DeclSyntax] {
|
|
return []
|
|
}
|
|
}
|