Skip to content

Commit 61734fa

Browse files
committed
Add comments.
1 parent 2b63e66 commit 61734fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

SCXcodeSwitchExpander/DVTTextCompletionController+SCXcodeSwitchExpander.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,16 @@ @interface DVTTextCompletionListWindowController (SCXcodeSwitchExpander)
9898

9999
- (BOOL)tryExpandingSwitchStatement;
100100

101+
/// Returns symbols that found in top `collection` by names recursively.
101102
- (NSArray<IDEIndexSymbol*>*)findSymbolsWithNames:(NSArray<NSString*>*)names fromCollection:(IDEIndexCollection*)collection;
103+
104+
/// Returns symbols named `name` in `collection`
102105
- (NSArray<IDEIndexSymbol*>*)_getSymbolsByName:(NSString*)name fromCollection:(IDEIndexCollection*)collection;
106+
107+
/// Returns symbols named `name[0].name[1].name[2]...` in `collection` recursively.
103108
- (NSArray<IDEIndexSymbol*>*)_getSymbolsByNames:(NSArray<NSString*>*)names fromCollection:(IDEIndexCollection*)collection;
104109

110+
/// Returns a boolean value whether `symbolKind` means a enum type.
105111
- (BOOL)isSymbolKindEnum:(DVTSourceCodeSymbolKind *)symbol;
106112

107113
/// Returns a boolean value whether `symbolKind` means a enum constant.

0 commit comments

Comments
 (0)