2 parents f7eb8a8 + 586c36a commit 7e42072Copy full SHA for 7e42072
1 file changed
VVDocumenter-Xcode/OCCategory/NSString+VVSyntax/NSString+VVSyntax.m
@@ -84,7 +84,7 @@ -(BOOL) vv_isSwiftProperty
84
// `let`/`var` can be in swift func, but `(` appear before `let`/`var` only
85
// happens when `private(set)` or `internal(set)` is used
86
// typealias is considered to share the same comment as property.
87
- return [self vv_matchesPatternRegexPattern:@"^\\s*([^(]*?)(((\\s*let|var|typealias\\s*)\\s+)|(\\(\\s*set\\s*\\)))"];
+ return [self vv_matchesPatternRegexPattern:@"^\\s*([^(]*?)(((\\s*let|var|typealias|class\\s*)\\s+)|(\\(\\s*set\\s*\\)))"];
88
}
89
90
-(BOOL) vv_isSwiftExtension
0 commit comments