@@ -267,18 +267,18 @@ private struct Property {
267267 var isEndpoint : Bool
268268}
269269
270- fileprivate extension VariableDeclSyntax {
271- var isStatic : Bool {
270+ extension VariableDeclSyntax {
271+ fileprivate var isStatic : Bool {
272272 self . modifiers. contains { modifier in
273273 modifier. name. tokenKind == . keyword( . static)
274274 }
275275 }
276276
277- static let dependencyEndpointName = " DependencyEndpoint "
278- static let dependencyEndpointIgnoredName = " DependencyEndpointIgnored "
279- static let dependencyName = " Dependency "
277+ fileprivate static let dependencyEndpointName = " DependencyEndpoint "
278+ fileprivate static let dependencyEndpointIgnoredName = " DependencyEndpointIgnored "
279+ fileprivate static let dependencyName = " Dependency "
280280
281- func hasMacroAttached( _ macro: String ) -> Bool {
281+ fileprivate func hasMacroAttached( _ macro: String ) -> Bool {
282282 self . attributes. contains {
283283 guard
284284 case let . attribute( attribute) = $0,
@@ -289,19 +289,19 @@ fileprivate extension VariableDeclSyntax {
289289 }
290290 }
291291
292- var hasDependencyEndpointMacroAttached : Bool {
292+ fileprivate var hasDependencyEndpointMacroAttached : Bool {
293293 hasMacroAttached ( Self . dependencyEndpointName)
294294 }
295-
296- var hasDependencyEndpointIgnoredMacroAttached : Bool {
295+
296+ fileprivate var hasDependencyEndpointIgnoredMacroAttached : Bool {
297297 hasMacroAttached ( Self . dependencyEndpointIgnoredName)
298298 }
299299
300- var hasDependencyMacroAttached : Bool {
300+ fileprivate var hasDependencyMacroAttached : Bool {
301301 hasMacroAttached ( Self . dependencyName)
302302 }
303303
304- var isIgnored : Bool {
304+ fileprivate var isIgnored : Bool {
305305 hasDependencyMacroAttached || hasDependencyEndpointIgnoredMacroAttached
306306 }
307307}
0 commit comments