├── JSPatchX.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcshareddata │ └── xcschemes │ └── JSPatchX.xcscheme ├── JSPatchX ├── Completion │ ├── DVTTextCompletionDataSource+JSPatchX.h │ ├── DVTTextCompletionDataSource+JSPatchX.m │ ├── DVTTextCompletionSession+JSPatchX.h │ ├── DVTTextCompletionSession+JSPatchX.m │ ├── IDEEditorDocument+JSPatchX.h │ ├── IDEEditorDocument+JSPatchX.m │ ├── IDEIndexCompletionStrategy+JSPatchX.h │ ├── IDEIndexCompletionStrategy+JSPatchX.m │ ├── IDEWorkspace+JSPatchX.h │ ├── IDEWorkspace+JSPatchX.m │ ├── JPCompletionItem.h │ └── JPCompletionItem.m ├── Info.plist ├── JPJSIndex │ ├── JPJSClass.h │ ├── JPJSClass.m │ ├── JPJSFile.h │ ├── JPJSFile.m │ ├── JPJSIndex.h │ ├── JPJSIndex.m │ ├── JPJSMethod.h │ └── JPJSMethod.m ├── JPObjcIndex │ ├── JPObjcArg.h │ ├── JPObjcArg.mm │ ├── JPObjcClass.h │ ├── JPObjcClass.mm │ ├── JPObjcFile.h │ ├── JPObjcFile.mm │ ├── JPObjcImport.h │ ├── JPObjcImport.mm │ ├── JPObjcIndex.h │ ├── JPObjcIndex.m │ ├── JPObjcMethod.h │ ├── JPObjcMethod.mm │ ├── JPObjcProtocol.h │ ├── JPObjcProtocol.mm │ └── ObjcParser │ │ ├── objcLex.cpp │ │ ├── objcLex.h │ │ ├── objcParser.cpp │ │ └── objcParser.h ├── Libs │ ├── MethodSwizzle.h │ ├── MethodSwizzle.m │ ├── NSString+JSPatchX.h │ └── NSString+JSPatchX.m ├── Resource │ ├── defScanFramwork.plist │ └── keywordTemplate.plist └── XCHeaders │ ├── DBGProcess.h │ ├── DBGProcessNavigableItem.h │ ├── DBGVariablesViewContentProvider.h │ ├── DVTAnnotation.h │ ├── DVTAnnotationContext.h │ ├── DVTAnnotationManager.h │ ├── DVTAnnotationProvider.h │ ├── DVTCharStream.h │ ├── DVTCompletingTextView.h │ ├── DVTControllerContentView.h │ ├── DVTDevice.h │ ├── DVTDocumentLocation.h │ ├── DVTFilePath.h │ ├── DVTFontAndColorTheme.h │ ├── DVTGradientImageButton.h │ ├── DVTLanguageSpecification.h │ ├── DVTLayoutManager.h │ ├── DVTLayoutView_ML.h │ ├── DVTMacroDefinitionTable.h │ ├── DVTMessageBubbleAnnotation.h │ ├── DVTModelObject.h │ ├── DVTObservingBlockToken.h │ ├── DVTObservingToken.h │ ├── DVTOperation.h │ ├── DVTSourceCodeLanguage.h │ ├── DVTSourceCodeSymbolKind.h │ ├── DVTSourceModel.h │ ├── DVTSourceModelItem.h │ ├── DVTSourceScanner.h │ ├── DVTSourceSpecification.h │ ├── DVTSourceTextView.h │ ├── DVTTextAnnotation.h │ ├── DVTTextAnnotationTheme.h │ ├── DVTTextCompletionController.h │ ├── DVTTextCompletionDataSource.h │ ├── DVTTextCompletionInlinePreviewController.h │ ├── DVTTextCompletionListWindowController.h │ ├── DVTTextCompletionSession.h │ ├── DVTTextCompletionStrategy.h │ ├── DVTTextDocumentLocation.h │ ├── DVTTextSidebarView.h │ ├── DVTTextStorage.h │ ├── DVTTextView.h │ ├── DVTViewController.h │ ├── IDEAnnotationContext.h │ ├── IDEBuildIssueAnnotation.h │ ├── IDEBuildIssueProvider.h │ ├── IDEBuildIssueStaticAnalyzerWarningAnnotation.h │ ├── IDEBuildIssueWarningAnnotation.h │ ├── IDEConsoleAdaptor.h │ ├── IDEContainer.h │ ├── IDEDataValue-Protocol.h │ ├── IDEDocumentController.h │ ├── IDEEditor.h │ ├── IDEEditorArea.h │ ├── IDEEditorContext.h │ ├── IDEEditorDocument.h │ ├── IDEExecutionEnvironment.h │ ├── IDEFileNavigableItem.h │ ├── IDEFileReferenceNavigableItem.h │ ├── IDEFrameworkFilePath.h │ ├── IDEIndex.h │ ├── IDEIndexCallableSymbol.h │ ├── IDEIndexCategorySymbol.h │ ├── IDEIndexClassSymbol.h │ ├── IDEIndexCollection.h │ ├── IDEIndexCompletionArray.h │ ├── IDEIndexCompletionItem.h │ ├── IDEIndexCompletionStrategy.h │ ├── IDEIndexContainerSymbol.h │ ├── IDEIndexDBConnection.h │ ├── IDEIndexDBSQLStream.h │ ├── IDEIndexDatabase.h │ ├── IDEIndexFileCollection.h │ ├── IDEIndexNewSymbol.h │ ├── IDEIndexSymbol.h │ ├── IDEIndexSymbolCollection.h │ ├── IDEIndexSymbolOccurrence.h │ ├── IDEIndexSymbolOccurrenceCollection.h │ ├── IDEIndexSymbolWithOccurrenceCollection.h │ ├── IDEIssue.h │ ├── IDEIssueManager.h │ ├── IDEIssueProvider.h │ ├── IDEKeyDrivenNavigableItem.h │ ├── IDEKeyDrivenNavigableItemRepresentedObject-Protocol.h │ ├── IDELaunchSession.h │ ├── IDENavigableItem.h │ ├── IDENavigator.h │ ├── IDENavigatorOutlineView.h │ ├── IDENavigatorOutlineViewDelegate-Protocol.h │ ├── IDEPathControl.h │ ├── IDERunDestination.h │ ├── IDERunOperation.h │ ├── IDERunOperationWorker.h │ ├── IDESourceCodeEditor.h │ ├── IDEStackFrame.h │ ├── IDEThread.h │ ├── IDEVariablesView.h │ ├── IDEVariablesViewNode.h │ ├── IDEViewController.h │ ├── IDEWorkspace.h │ ├── IDEWorkspaceArena.h │ ├── IDEWorkspaceArenaInfo.h │ ├── IDEWorkspaceSettings.h │ ├── IDEWorkspaceTabController.h │ ├── IDEXMLPackageContainer.h │ ├── PBXBuildContext.h │ ├── PBXBuildPhase.h │ ├── PBXBuildStyle.h │ ├── PBXContainer.h │ ├── PBXContainerItem.h │ ├── PBXFileReference.h │ ├── PBXFrameworksBuildPhase.h │ ├── PBXObject.h │ ├── PBXProject.h │ ├── PBXProjectItem.h │ ├── PBXReference.h │ ├── PBXTarget.h │ ├── PBXTargetBuildContext.h │ ├── XCBuildConfiguration.h │ ├── XCConfigurationList.h │ ├── XCEditFileEditor.h │ └── _IDENavigatorOutlineViewDataSource.h ├── LICENSE ├── README-CN.md ├── README.md └── Resource ├── JSPatchX.zip └── Screenshot.gif /JSPatchX.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JSPatchX.xcodeproj/xcshareddata/xcschemes/JSPatchX.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 46 | 47 | 48 | 49 | 61 | 65 | 66 | 67 | 73 | 74 | 75 | 76 | 77 | 78 | 84 | 85 | 87 | 88 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /JSPatchX/Completion/DVTTextCompletionDataSource+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // DVTTextCompletionDataSource+JSPatchX.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/7/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "DVTTextCompletionDataSource.h" 11 | 12 | @interface DVTTextCompletionDataSource (JSPatchX) 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /JSPatchX/Completion/DVTTextCompletionDataSource+JSPatchX.m: -------------------------------------------------------------------------------- 1 | // 2 | // DVTTextCompletionDataSource+JSPatchX.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/7/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "DVTTextCompletionDataSource+JSPatchX.h" 10 | #import "MethodSwizzle.h" 11 | #import "DVTSourceCodeLanguage.h" 12 | #import "IDEIndexCompletionStrategy.h" 13 | 14 | @implementation DVTTextCompletionDataSource (JSPatchX) 15 | 16 | + (void)load 17 | { 18 | SWIZZLE(strategies); 19 | } 20 | 21 | - (NSArray*)swizzle_strategies 22 | { 23 | if ([[self.language.identifier lowercaseString] hasSuffix:@".javascript"]) { 24 | return [NSArray arrayWithObject:[[IDEIndexCompletionStrategy alloc] init]]; 25 | }else{ 26 | return [self swizzle_strategies]; 27 | } 28 | } 29 | 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /JSPatchX/Completion/DVTTextCompletionSession+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // DVTTextCompletionSession+JSPatchX.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/7/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "DVTTextCompletionSession.h" 11 | 12 | @interface DVTTextCompletionSession (JSPatchX) 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /JSPatchX/Completion/DVTTextCompletionSession+JSPatchX.m: -------------------------------------------------------------------------------- 1 | // 2 | // DVTTextCompletionSession+JSPatchX.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/7/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "DVTTextCompletionSession+JSPatchX.h" 10 | #import "MethodSwizzle.h" 11 | #import "DVTTextCompletionListWindowController.h" 12 | #import "DVTTextCompletionInlinePreviewController.h" 13 | #import "DVTSourceCodeLanguage.h" 14 | #import "DVTSourceTextView.h" 15 | #import "DVTSourceModel.h" 16 | #import 17 | #import "JPCompletionItem.h" 18 | #import "JPCompletionItem.h" 19 | 20 | @implementation DVTTextCompletionSession (JSPatchX) 21 | 22 | + (void)load 23 | { 24 | SWIZZLE(_setFilteringPrefix:forceFilter:); 25 | SWIZZLE(initWithTextView:atLocation:cursorLocation:); 26 | } 27 | 28 | - (void)swizzle__setFilteringPrefix:(id)arg1 forceFilter:(BOOL)arg2 29 | { 30 | BOOL isJS = [objc_getAssociatedObject(self, @"isJS") boolValue] ; 31 | if (!isJS) { 32 | [self swizzle__setFilteringPrefix:arg1 forceFilter:arg2]; 33 | return; 34 | } 35 | NSString *comparePrefix = [arg1 lowercaseString]; 36 | NSMutableArray *arr = [[NSMutableArray alloc] init]; 37 | 38 | @try { 39 | for (JPCompletionItem * compitem in self.allCompletions) { 40 | if ([compitem.lowercaseName hasPrefix:comparePrefix]) { 41 | [arr addObject:compitem]; 42 | } 43 | } 44 | 45 | if (0 == arr.count) { 46 | [self swizzle__setFilteringPrefix:arg1 forceFilter:arg2]; 47 | return; 48 | } 49 | }@catch(NSException *exception) { 50 | NSLog(@"exception %@", exception); 51 | } 52 | 53 | @try { 54 | 55 | [self willChangeValueForKey:@"filteredCompletionsAlpha"]; 56 | [self willChangeValueForKey:@"selectedCompletionIndex"]; 57 | 58 | [self setValue: arr forKey: @"_filteredCompletionsAlpha"]; 59 | [self setValue: @(0) forKey: @"_selectedCompletionIndex"]; 60 | 61 | [self didChangeValueForKey:@"filteredCompletionsAlpha"]; 62 | [self didChangeValueForKey:@"selectedCompletionIndex"]; 63 | 64 | }@catch(NSException *exception) { 65 | NSLog(@"exception %@", exception); 66 | } 67 | } 68 | 69 | - (id)swizzle_initWithTextView:(id)arg1 atLocation:(unsigned long long)arg2 cursorLocation:(unsigned long long)arg3 70 | { 71 | DVTSourceTextView *txtView = (DVTSourceTextView *)arg1; 72 | if ([[txtView.textStorage.language.identifier lowercaseString] hasSuffix:@".javascript"]) { 73 | objc_setAssociatedObject(self, @"isJS", @(YES), OBJC_ASSOCIATION_ASSIGN); 74 | }else{ 75 | objc_setAssociatedObject(self, @"isJS", @(NO), OBJC_ASSOCIATION_ASSIGN); 76 | } 77 | 78 | id obj = [self swizzle_initWithTextView:arg1 atLocation:arg2 cursorLocation:arg3]; 79 | return obj; 80 | } 81 | 82 | - (BOOL)isJSSession 83 | { 84 | return [objc_getAssociatedObject(self, @"isJS") boolValue]; 85 | } 86 | @end 87 | -------------------------------------------------------------------------------- /JSPatchX/Completion/IDEEditorDocument+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // IDEEditorDocument+JSPatchX.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import "IDEEditorDocument.h" 12 | 13 | @interface IDEEditorDocument (JSPatchX) 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /JSPatchX/Completion/IDEEditorDocument+JSPatchX.m: -------------------------------------------------------------------------------- 1 | // 2 | // IDEEditorDocument+JSPatchX.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "IDEEditorDocument+JSPatchX.h" 10 | #import "MethodSwizzle.h" 11 | #import "DVTFilePath.h" 12 | 13 | @implementation IDEEditorDocument (JSPatchX) 14 | 15 | +(void)load 16 | { 17 | SWIZZLE(ide_finishSaving:forSaveOperation:previousPath:); 18 | } 19 | - (void)swizzle_ide_finishSaving:(BOOL)arg1 forSaveOperation:(unsigned long long)arg2 previousPath:(id)arg3 20 | { 21 | DVTFilePath *filePath = arg3; 22 | [[NSNotificationCenter defaultCenter] postNotificationName:@"JSPatchXFileSaved" object:filePath.pathString]; 23 | [self swizzle_ide_finishSaving:arg1 forSaveOperation:arg2 previousPath:arg3]; 24 | } 25 | @end 26 | -------------------------------------------------------------------------------- /JSPatchX/Completion/IDEIndexCompletionStrategy+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // IDEIndexCompletionStrategy+JSPatchX.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/7/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IDEIndexCompletionStrategy.h" 11 | 12 | @interface IDEIndexCompletionStrategy (JSPatchX) 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /JSPatchX/Completion/IDEIndexCompletionStrategy+JSPatchX.m: -------------------------------------------------------------------------------- 1 | // 2 | // IDEIndexCompletionStrategy+JSPatchX.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/7/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "IDEIndexCompletionStrategy+JSPatchX.h" 10 | #import "MethodSwizzle.h" 11 | #import "IDEIndex.h" 12 | #import "IDEIndexSymbolOccurrenceCollection.h" 13 | #import "IDEIndexSymbolWithOccurrenceCollection.h" 14 | #import "IDEIndexCallableSymbol.h" 15 | #import "IDEIndexCategorySymbol.h" 16 | #import "DVTFilePath.h" 17 | #import "DVTSourceCodeLanguage.h" 18 | #import "IDEWorkspaceSettings.h" 19 | #import "IDEWorkspaceArena.h" 20 | #import "IDEWorkspaceArenaInfo.h" 21 | #import "IDEIndexFileCollection.h" 22 | #import "IDEIndexClassSymbol.h" 23 | #import "IDEEditorDocument.h" 24 | #import "DVTTextDocumentLocation.h" 25 | #import "DVTSourceCodeLanguage.h" 26 | #import "DVTSourceTextView.h" 27 | #import "DVTCompletingTextView.h" 28 | #import "DVTSourceCodeSymbolKind.h" 29 | #import "JPCompletionItem.h" 30 | #import "IDEWorkspace+JSPatchX.h" 31 | 32 | @implementation IDEIndexCompletionStrategy (JSPatchX) 33 | 34 | + (void)load 35 | { 36 | SWIZZLE(completionItemsForDocumentLocation:context:highlyLikelyCompletionItems:areDefinitive:); 37 | } 38 | 39 | - (id)swizzle_completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 highlyLikelyCompletionItems:(id *)arg3 areDefinitive:(char *)arg4 40 | { 41 | DVTSourceTextView* sourceTextView = [arg2 objectForKey:@"DVTTextCompletionContextTextView"]; 42 | DVTTextStorage *textStorage= [arg2 objectForKey:@"DVTTextCompletionContextTextStorage"]; 43 | DVTTextDocumentLocation *location = (DVTTextDocumentLocation *)arg1; 44 | IDEWorkspace *workspace = [arg2 objectForKey:@"IDETextCompletionContextWorkspaceKey"]; 45 | IDEEditorDocument *document = [arg2 objectForKey:@"IDETextCompletionContextDocumentKey"]; 46 | 47 | if (textStorage && [[document.filePath.pathString lowercaseString] hasSuffix:@".js"]) { 48 | return [self genCompletionItems:sourceTextView loc:location workSpace:workspace strFilePath:document.filePath.pathString]; 49 | }else{ 50 | return [self swizzle_completionItemsForDocumentLocation:arg1 context:arg2 highlyLikelyCompletionItems:arg3 areDefinitive:arg4]; 51 | } 52 | } 53 | 54 | - (NSArray *)genCompletionItems:(DVTSourceTextView *)txtView loc:(DVTTextDocumentLocation *)location workSpace:(IDEWorkspace *)wspace strFilePath:(NSString *)filePath 55 | { 56 | 57 | NSDictionary *itemsDict = [wspace.jsIndex completionItemsInProject]; 58 | NSInteger loc = location.characterRange.location - 1; 59 | if (loc >= 0) { 60 | NSString *prevChar = [txtView.textStorage.string substringWithRange:NSMakeRange(loc,1)]; 61 | if ([prevChar isEqualToString:@"."]) { 62 | return itemsDict[@"methods"]; 63 | } 64 | } 65 | NSArray *keywordItems = [wspace.jsIndex keywordCompletionItemsWithFilePath:filePath]; 66 | return [itemsDict[@"keywords"] arrayByAddingObjectsFromArray:keywordItems]; 67 | } 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /JSPatchX/Completion/IDEWorkspace+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPWorkSpace.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IDEWorkspace.h" 11 | #import "JPObjcIndex.h" 12 | #import "JPJSIndex.h" 13 | 14 | @interface IDEWorkspace (JSPatchX) 15 | 16 | - (NSString *)currentProjectFolder; 17 | 18 | - (NSArray *)defaultScanHeaderDirs; 19 | 20 | - (NSArray *)SDKDirs; 21 | 22 | - (NSString *)xcprojFile; 23 | 24 | - (JPObjcIndex *)objcIndex; 25 | - (JPJSIndex *)jsIndex; 26 | @end 27 | -------------------------------------------------------------------------------- /JSPatchX/Completion/JPCompletionItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPCompletionItem.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright (c) 2016年 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IDEIndexCompletionItem.h" 11 | #import "IDEIndexCallableSymbol.h" 12 | 13 | const static NSString *kJPCompeletionName = @"kJPCName"; 14 | const static NSString *kJPCompeletionDisplayText = @"kJPCDplTxt"; 15 | const static NSString *kJPCompeletionDisplayType = @"kJPCDplType"; 16 | const static NSString *kJPCompeletionText = @"kJPCTxt"; 17 | const static NSString *kJPCompeletionKind = @"kJPCKind"; 18 | 19 | @interface JPCompletionItem : IDEIndexCompletionItem 20 | 21 | - (instancetype)initWithDictinary:(NSDictionary *)dict; 22 | 23 | - (NSString *)lowercaseName; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /JSPatchX/Completion/JPCompletionItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // JPCompletionItem.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright (c) 2016年 bang. All rights reserved. 7 | // 8 | 9 | #import "JPCompletionItem.h" 10 | #import "DVTSourceCodeSymbolKind.h" 11 | #import "DVTSourceCodeLanguage.h" 12 | #import "IDEIndexCollection.h" 13 | #import "IDEIndexSymbolCollection.h" 14 | 15 | @implementation JPCompletionItem { 16 | NSDictionary *_dict; 17 | NSString *_lowercasename; 18 | } 19 | 20 | -(instancetype)initWithDictinary:(NSDictionary *)dict 21 | { 22 | if (self = [super init]) { 23 | _dict = dict; 24 | } 25 | return self; 26 | } 27 | 28 | - (NSString *)name 29 | { 30 | return [_dict objectForKey:kJPCompeletionName]; 31 | } 32 | 33 | - (NSString *)displayText 34 | { 35 | return [_dict objectForKey:kJPCompeletionDisplayText]; 36 | } 37 | 38 | - (NSString *)displayType 39 | { 40 | return [_dict objectForKey:kJPCompeletionDisplayType]; 41 | } 42 | 43 | - (NSString *)completionText 44 | { 45 | return [_dict objectForKey:kJPCompeletionText]; 46 | } 47 | 48 | - (void)_fillInTheRest { } 49 | 50 | - (double)priority 51 | { 52 | return 9999; 53 | } 54 | 55 | - (DVTSourceCodeSymbolKind *)symbolKind 56 | { 57 | return [_dict objectForKey:kJPCompeletionKind]; 58 | } 59 | 60 | - (BOOL)notRecommended 61 | { 62 | return NO; 63 | } 64 | 65 | - (NSString *)lowercaseName { 66 | if (!_lowercasename) { 67 | _lowercasename = [self.name lowercaseString]; 68 | } 69 | return _lowercasename; 70 | } 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /JSPatchX/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | DVTPlugInCompatibilityUUIDs 26 | 27 | C4A681B0-4A26-480E-93EC-1218098B9AA0 28 | F41BD31E-2683-44B8-AE7F-5F09E919790E 29 | AD68E85B-441B-4301-B564-A45E4919A6AD 30 | A16FF353-8441-459E-A50C-B071F53F51B7 31 | 9F75337B-21B4-4ADC-B558-F9CADF7073A7 32 | E969541F-E6F9-4D25-8158-72DC3545A6C6 33 | 8DC44374-2B35-4C57-A6FE-2AD66A36AAD9 34 | AABB7188-E14E-4433-AD3B-5CD791EAD9A3 35 | 8DC44374-2B35-4C57-A6FE-2AD66A36AAD9 36 | AABB7188-E14E-4433-AD3B-5CD791EAD9A3 37 | 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 38 | 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 39 | 7265231C-39B4-402C-89E1-16167C4CC990 40 | ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C 41 | 42 | LSMinimumSystemVersion 43 | $(MACOSX_DEPLOYMENT_TARGET) 44 | NSPrincipalClass 45 | JSPatchX 46 | XC4Compatible 47 | 48 | XCPluginHasUI 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSClass.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSClass.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPJSClass : NSObject 12 | @property (nonatomic, strong, readonly) NSString *cls; 13 | @property (nonatomic, strong, readonly) NSString *baseCls; 14 | - (instancetype)initWithClass:(NSString *)cls baseClass:(NSString *)baseCls properties:(NSArray *)properties; 15 | - (NSArray *)classCompletionItems; 16 | - (NSArray *)propertyCompletionItems; 17 | @end 18 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSClass.m: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSClass.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "JPJSClass.h" 10 | #import "JPCompletionItem.h" 11 | #import "DVTSourceCodeSymbolKind.h" 12 | 13 | @implementation JPJSClass { 14 | NSString *_cls; 15 | NSString *_baseCls; 16 | NSArray *_properties; 17 | } 18 | 19 | - (instancetype)initWithClass:(NSString *)cls baseClass:(NSString *)baseCls properties:(NSArray *)properties 20 | { 21 | self = [super init]; 22 | if (self) { 23 | _cls = cls; 24 | _baseCls = baseCls; 25 | _properties = properties; 26 | } 27 | return self; 28 | } 29 | 30 | - (NSArray *)classCompletionItems 31 | { 32 | NSMutableArray *items = [[NSMutableArray alloc] init]; 33 | if (_cls) { 34 | JPCompletionItem *clsCompletionItem = [[JPCompletionItem alloc] initWithDictinary:@{ 35 | kJPCompeletionName: _cls, 36 | kJPCompeletionDisplayText: _cls, 37 | kJPCompeletionText: _cls, 38 | kJPCompeletionDisplayType: @"Class", 39 | kJPCompeletionKind: [DVTSourceCodeSymbolKind functionSymbolKind] 40 | }]; 41 | [items addObject:clsCompletionItem]; 42 | } 43 | 44 | if (_baseCls) { 45 | JPCompletionItem *baseClsCompletionItem = [[JPCompletionItem alloc] initWithDictinary:@{ 46 | kJPCompeletionName: _baseCls, 47 | kJPCompeletionDisplayText: _baseCls, 48 | kJPCompeletionText: _baseCls, 49 | kJPCompeletionDisplayType: @"Class", 50 | kJPCompeletionKind: [DVTSourceCodeSymbolKind functionSymbolKind] 51 | }]; 52 | [items addObject:baseClsCompletionItem]; 53 | } 54 | 55 | return items; 56 | } 57 | 58 | - (NSArray *)propertyCompletionItems 59 | { 60 | NSMutableArray *items = [[NSMutableArray alloc] init]; 61 | for (NSString *prop in _properties) { 62 | JPCompletionItem *item = [[JPCompletionItem alloc] initWithDictinary:@{ 63 | kJPCompeletionName: prop, 64 | kJPCompeletionDisplayText: [NSString stringWithFormat:@"%@()", prop], 65 | kJPCompeletionText: [NSString stringWithFormat:@"%@()", prop], 66 | kJPCompeletionDisplayType: @"Property", 67 | kJPCompeletionKind: [DVTSourceCodeSymbolKind functionSymbolKind] 68 | }]; 69 | [items addObject:item]; 70 | 71 | if (prop.length > 1) { 72 | NSString *setName = [NSString stringWithFormat:@"set%@%@", [[prop substringToIndex:1] uppercaseString], [prop substringFromIndex:1]]; 73 | JPCompletionItem *itemSet = [[JPCompletionItem alloc] initWithDictinary:@{ 74 | kJPCompeletionName: [NSString stringWithFormat:@"%@()", setName], 75 | kJPCompeletionDisplayText: [NSString stringWithFormat:@"%@( val )", setName], 76 | kJPCompeletionText: [NSString stringWithFormat:@"%@(<# val #\>)", setName], 77 | kJPCompeletionDisplayType: @"property", 78 | kJPCompeletionKind: [DVTSourceCodeSymbolKind functionSymbolKind] 79 | }]; 80 | [items addObject:itemSet]; 81 | } 82 | } 83 | return items; 84 | } 85 | @end 86 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSFile.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSFile.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPJSFile : NSObject 12 | @property (nonatomic, strong, readonly) NSArray *requireClasses; 13 | @property (nonatomic, strong, readonly) NSArray *classCompletionItems; 14 | @property (nonatomic, strong, readonly) NSArray *methodCompletionItems; 15 | @property (nonatomic, strong, readonly) NSArray *propertyCompletionItems; 16 | @property (nonatomic, strong, readonly) NSArray *keywordCompletionItems; 17 | - (instancetype)initWithContent:(NSString *)content; 18 | @end 19 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSIndex.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSIndex.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | @class IDEWorkspace; 11 | 12 | @interface JPJSIndex : NSObject 13 | - (instancetype)initWithWorkspace:(IDEWorkspace *)workspace; 14 | - (NSDictionary *)completionItemsInProject; 15 | - (NSArray *)keywordCompletionItemsWithFilePath:(NSString *)filePath; 16 | @end 17 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSMethod.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSMethod.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "JPCompletionItem.h" 11 | 12 | @interface JPJSMethod : NSObject 13 | - (instancetype)initWithMethodName:(NSString *)name params:(NSArray *)params; 14 | - (JPCompletionItem *)completionItem; 15 | @end 16 | -------------------------------------------------------------------------------- /JSPatchX/JPJSIndex/JPJSMethod.m: -------------------------------------------------------------------------------- 1 | // 2 | // JPJSMethod.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "JPJSMethod.h" 10 | #import "DVTSourceCodeSymbolKind.h" 11 | 12 | @implementation JPJSMethod { 13 | NSString *_name; 14 | NSArray *_params; 15 | } 16 | - (instancetype)initWithMethodName:(NSString *)name params:(NSArray *)params 17 | { 18 | self = [super init]; 19 | if (self) { 20 | _name = name; 21 | _params = params; 22 | } 23 | return self; 24 | } 25 | 26 | 27 | - (NSString *)displayText 28 | { 29 | NSMutableString *str = [_name mutableCopy]; 30 | [str appendString:@"("]; 31 | for (NSString *param in _params) { 32 | [str appendFormat:@"%@, ", param]; 33 | } 34 | if (_params.count > 0) { 35 | [str deleteCharactersInRange:NSMakeRange(str.length - 2, 2)]; 36 | } 37 | [str appendString:@")"]; 38 | return str; 39 | } 40 | 41 | - (NSString *)completionText 42 | { 43 | NSMutableString *str = [_name mutableCopy]; 44 | [str appendString:@"("]; 45 | for (NSString *param in _params) { 46 | [str appendFormat:@"<#%@#\>, ", param]; 47 | } 48 | if (_params.count > 0) { 49 | [str deleteCharactersInRange:NSMakeRange(str.length - 2, 2)]; 50 | } 51 | [str appendString:@")"]; 52 | return str; 53 | } 54 | 55 | - (JPCompletionItem *)completionItem 56 | { 57 | JPCompletionItem *item = [[JPCompletionItem alloc] initWithDictinary:@{ 58 | kJPCompeletionName: _name, 59 | kJPCompeletionDisplayText: [self displayText], 60 | kJPCompeletionText: [self completionText], 61 | kJPCompeletionDisplayType: @"function", 62 | kJPCompeletionKind: [DVTSourceCodeSymbolKind functionSymbolKind] 63 | }]; 64 | return item; 65 | } 66 | @end 67 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcArg.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcArg.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPObjcArg : NSObject 12 | 13 | @property (nonatomic, retain) NSString * selector; 14 | @property (nonatomic, retain) NSString * argName; 15 | @property (nonatomic, retain) NSString * argType; 16 | 17 | - (instancetype)initWithParseResult:(void *)result; 18 | @end 19 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcArg.mm: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcArg.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "JPObjcArg.h" 10 | #import "objcParser.h" 11 | #import "NSString+JSPatchX.h" 12 | 13 | @implementation JPObjcArg 14 | 15 | - (instancetype)initWithParseResult:(void *)result 16 | { 17 | if (self = [super init]) { 18 | ArgSymbol * argsym = (ArgSymbol *)result; 19 | _selector = [NSString stringWithUTF8String:argsym->selector.c_str()]; 20 | _argName = [[NSString stringWithUTF8String:argsym->argName.c_str()] trim]; 21 | _argType = [[NSString stringWithUTF8String:argsym->argType.c_str()] trim]; 22 | } 23 | return self; 24 | } 25 | 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcClass.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcClass.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPObjcClass : NSObject 12 | @property (nonatomic, strong) NSArray *methods; //include property method 13 | @property (nonatomic, assign) BOOL isCategory; 14 | @property (nonatomic, strong) NSString *clsName; 15 | @property (nonatomic, strong) NSString *superClsName; 16 | @property (nonatomic, strong) NSString *cateName; 17 | 18 | -(instancetype)initWithParseResult:(void *)result; 19 | @end 20 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcClass.mm: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcClass.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "JPObjcClass.h" 10 | #import "objcParser.h" 11 | #import "JPObjcMethod.h" 12 | #import "JPObjcArg.h" 13 | 14 | @implementation JPObjcClass { 15 | NSMutableArray *_methods; 16 | BOOL _isCategory; 17 | NSString *_cateName; 18 | NSString *_clsName; 19 | NSString *_superClsName; 20 | } 21 | 22 | -(instancetype)initWithParseResult:(void *)result{ 23 | if (self = [super init]) { 24 | InterfaceSymbol *itfsym = (InterfaceSymbol *)result; 25 | _methods = [[NSMutableArray alloc] initWithCapacity:itfsym->methods.size()]; 26 | _isCategory = itfsym->isCategory != 0; 27 | _cateName = [NSString stringWithUTF8String:itfsym->cateName.c_str()]; 28 | _clsName = [NSString stringWithUTF8String:itfsym->clsName.c_str()]; 29 | _superClsName = [NSString stringWithUTF8String:itfsym->superClsName.c_str()]; 30 | for (int idx = 0; idx < itfsym->methods.size(); ++idx) { 31 | MethodSymbol *msym = itfsym->methods[idx]; 32 | JPObjcMethod *objcMethod = [[JPObjcMethod alloc] initWithParseResult:msym]; 33 | objcMethod.className = _clsName; 34 | [_methods addObject:objcMethod]; 35 | } 36 | 37 | for (int idx = 0; idx < itfsym->properties.size(); ++idx) { 38 | PropertySymbol *propsym = itfsym->properties[idx]; 39 | 40 | //getter 41 | JPObjcMethod *objcMethodGetter = [[JPObjcMethod alloc] init]; 42 | objcMethodGetter.methodName = [NSString stringWithUTF8String:propsym->propertyName.c_str()]; 43 | objcMethodGetter.returnType = [NSString stringWithUTF8String:propsym->propertyType.c_str()]; 44 | objcMethodGetter.className = _clsName; 45 | [_methods addObject:objcMethodGetter]; 46 | 47 | if (![self isPropertyReadOnly:propsym]) { 48 | //setter 49 | JPObjcMethod *objcMethodSetter = [[JPObjcMethod alloc] init]; 50 | objcMethodSetter.methodName = [NSString stringWithFormat:@"set%@",[NSString stringWithUTF8String:propsym->propertyName.c_str()]]; 51 | if (objcMethodSetter.methodName.length > 3) { 52 | NSString *c = [objcMethodSetter.methodName substringWithRange:NSMakeRange(3, 1)]; 53 | objcMethodSetter.methodName = [objcMethodSetter.methodName stringByReplacingCharactersInRange:NSMakeRange(3,1) withString:c.uppercaseString]; 54 | } 55 | objcMethodSetter.returnType = @"void"; 56 | 57 | 58 | JPObjcArg *objcArg = [[JPObjcArg alloc] init]; 59 | objcArg.argName = [NSString stringWithUTF8String:propsym->propertyName.c_str()]; 60 | objcArg.selector = objcMethodSetter.methodName; 61 | objcArg.argType = objcMethodGetter.returnType; 62 | 63 | objcMethodSetter.args = [NSMutableArray arrayWithObject:objcArg]; 64 | objcMethodSetter.className = _clsName; 65 | [_methods addObject:objcMethodSetter]; 66 | } 67 | } 68 | 69 | 70 | } 71 | return self; 72 | } 73 | 74 | -(BOOL)isPropertyReadOnly:(PropertySymbol *)props{ 75 | for (int i = 0; i < props->attributes.size(); ++i){ 76 | if (props->attributes[i] == "readonly") { 77 | return YES; 78 | } 79 | } 80 | return NO; 81 | } 82 | @end 83 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcFile.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcFile.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPObjcFile : NSObject 12 | @property (nonatomic, strong) NSDate * parseDate; 13 | @property (nonatomic, strong) NSString * filePath; 14 | @property (nonatomic, strong) NSArray *classes; 15 | @property (nonatomic, strong) NSArray * protocols; 16 | @property (nonatomic, strong) NSArray * imports; 17 | + (JPObjcFile *)parseFile:(NSString *)path; 18 | @end 19 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcFile.mm: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcFile.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "JPObjcFile.h" 10 | #import "objcLex.h" 11 | #import "objcParser.h" 12 | #import "JPObjcProtocol.h" 13 | #import "JPObjcImport.h" 14 | #import "JPObjcClass.h" 15 | 16 | @implementation JPObjcFile { 17 | NSMutableArray *_imports; 18 | NSMutableArray *_classes; 19 | NSMutableArray *_protocols; 20 | } 21 | 22 | + (JPObjcFile *)parseFile:(NSString *)path 23 | { 24 | @try { 25 | NSData *sourceData = [NSData dataWithContentsOfFile:path]; 26 | if (!sourceData.length) { 27 | return NULL; 28 | } 29 | string utfSource((const char *)sourceData.bytes, sourceData.length); 30 | ObjcLex lex(utfSource); 31 | FileSymbol fssym; 32 | 33 | fssym.parse(&lex); 34 | 35 | JPObjcFile *objcFile = [[JPObjcFile alloc] initWithParseResult:&fssym]; 36 | objcFile.parseDate = [NSDate date]; 37 | objcFile.filePath = path; 38 | 39 | return objcFile; 40 | } 41 | @catch (NSException *exception) { 42 | NSLog(@"ObjectiveC Header Parse Error:%@", path); 43 | return nil; 44 | } 45 | @finally { 46 | } 47 | } 48 | 49 | -(instancetype)initWithParseResult:(void *)result 50 | { 51 | if (self = [super init]) { 52 | FileSymbol * fs = (FileSymbol *)result; 53 | 54 | _imports = [[NSMutableArray alloc] initWithCapacity:fs->imports.size()]; 55 | for(int idx = 0; idx < fs->imports.size(); ++idx){ 56 | ImportSymbol *imps = fs->imports[idx]; 57 | JPObjcImport *objcImport = [[JPObjcImport alloc] initWithParseResult:imps]; 58 | [_imports addObject:objcImport]; 59 | } 60 | 61 | _classes = [[NSMutableArray alloc] initWithCapacity:fs->interfaces.size()]; 62 | for(int idx = 0; idx < fs->interfaces.size(); ++idx){ 63 | InterfaceSymbol *itfs = fs->interfaces[idx]; 64 | JPObjcClass *objcCls = [[JPObjcClass alloc] initWithParseResult:itfs]; 65 | [_classes addObject:objcCls]; 66 | } 67 | 68 | _protocols = [[NSMutableArray alloc] initWithCapacity:fs->protocols.size()]; 69 | for(int idx = 0; idx < fs->protocols.size(); ++idx){ 70 | ProtocolSymbol *protos = fs->protocols[idx]; 71 | JPObjcProtocol *objcProtocol = [[JPObjcProtocol alloc] initWithParseResult:protos]; 72 | [_protocols addObject:objcProtocol]; 73 | } 74 | 75 | } 76 | return self; 77 | } 78 | 79 | @end 80 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcImport.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcImport.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPObjcImport : NSObject 12 | @property (nonatomic, assign) BOOL isSys; 13 | @property (nonatomic, strong) NSString *header; 14 | -(instancetype)initWithParseResult:(void *)result; 15 | @end 16 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcImport.mm: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcImport.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "JPObjcImport.h" 10 | #import "objcParser.h" 11 | 12 | @implementation JPObjcImport 13 | 14 | -(instancetype)initWithParseResult:(void *)result{ 15 | if (self = [super init]) { 16 | ImportSymbol *imps = (ImportSymbol *)result; 17 | _header = [NSString stringWithUTF8String:imps->path.c_str()]; 18 | _isSys = imps->isSys != 0; 19 | } 20 | return self; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcIndex.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcIndex.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/16/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | @class IDEWorkspace; 11 | 12 | @interface JPObjcIndex : NSObject 13 | - (instancetype)initWithWorkspace:(IDEWorkspace *)workspace; 14 | - (NSArray *)methodCompletionItemsWithClasses:(NSArray *)classes; 15 | - (NSArray *)protocolCompletionItems; 16 | @end 17 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcMethod.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcMethod.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "JPCompletionItem.h" 11 | 12 | @interface JPObjcMethod : NSObject 13 | 14 | @property (nonatomic, strong) NSMutableArray *args; 15 | @property (nonatomic, strong) NSString *methodName; 16 | @property (nonatomic, assign) BOOL isClassMethod; 17 | @property (nonatomic, strong) NSString *returnType; 18 | @property (nonatomic, strong) NSString *className; 19 | 20 | -(instancetype)initWithParseResult:(void *)result; 21 | -(NSString *)displayString; 22 | -(NSString *)completionString; 23 | - (JPCompletionItem *)completionItem; 24 | @end 25 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcProtocol.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JPObjcProtocol : NSObject 12 | @property (nonatomic, strong) NSString *protocolName; 13 | - (instancetype)initWithParseResult:(void *)result; 14 | - (NSArray *)methodCompletionItems; 15 | @end 16 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/JPObjcProtocol.mm: -------------------------------------------------------------------------------- 1 | // 2 | // JPObjcProtocol.m 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright © 2016 louis. All rights reserved. 7 | // 8 | 9 | #import "JPObjcProtocol.h" 10 | #import "objcParser.h" 11 | #import "JPObjcMethod.h" 12 | #import "JPObjcArg.h" 13 | 14 | @implementation JPObjcProtocol { 15 | NSMutableArray *_methods; //include property method 16 | } 17 | 18 | - (instancetype)initWithParseResult:(void *)result 19 | { 20 | if (self = [super init]) { 21 | ProtocolSymbol *protosym = (ProtocolSymbol *)result; 22 | 23 | _methods = [[NSMutableArray alloc] initWithCapacity:protosym->methods.size()]; 24 | _protocolName = [NSString stringWithUTF8String:protosym->protoName.c_str()]; 25 | 26 | for (int idx = 0; idx < protosym->methods.size(); ++idx) { 27 | MethodSymbol *msym = protosym->methods[idx]; 28 | JPObjcMethod *objcMethod = [[JPObjcMethod alloc] initWithParseResult:msym]; 29 | objcMethod.className = _protocolName; 30 | [_methods addObject:objcMethod]; 31 | } 32 | 33 | for (int idx = 0; idx < protosym->properties.size(); ++idx) { 34 | PropertySymbol *propsym = protosym->properties[idx]; 35 | 36 | //getter 37 | JPObjcMethod *objcMethodGetter = [[JPObjcMethod alloc] init]; 38 | objcMethodGetter.methodName = [NSString stringWithUTF8String:propsym->propertyName.c_str()]; 39 | objcMethodGetter.returnType = [NSString stringWithUTF8String:propsym->propertyType.c_str()]; 40 | objcMethodGetter.className = _protocolName; 41 | [_methods addObject:objcMethodGetter]; 42 | if (![self isPropertyReadOnly:propsym]) { 43 | //setter 44 | JPObjcMethod *objcMethodSetter = [[JPObjcMethod alloc] init]; 45 | objcMethodSetter.methodName = [NSString stringWithFormat:@"set%@",[NSString stringWithUTF8String:propsym->propertyName.c_str()]]; 46 | objcMethodSetter.returnType = @"void"; 47 | 48 | JPObjcArg *argSym = [[JPObjcArg alloc] init]; 49 | argSym.argName = [[NSString stringWithUTF8String:propsym->propertyName.c_str()] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; 50 | argSym.selector = objcMethodSetter.methodName; 51 | argSym.argType = [objcMethodGetter.returnType stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; 52 | 53 | objcMethodSetter.className = _protocolName; 54 | [_methods addObject:objcMethodSetter]; 55 | } 56 | } 57 | 58 | } 59 | return self; 60 | } 61 | 62 | 63 | - (BOOL)isPropertyReadOnly:(PropertySymbol *)props 64 | { 65 | for (int i = 0; i < props->attributes.size(); ++i){ 66 | if (props->attributes[i] == "readonly") { 67 | return YES; 68 | } 69 | } 70 | return NO; 71 | } 72 | 73 | - (NSArray *)methodCompletionItems 74 | { 75 | NSMutableArray *items = [[NSMutableArray alloc] init]; 76 | for (JPObjcMethod *method in _methods) { 77 | [items addObject:method.completionItem]; 78 | } 79 | return items; 80 | } 81 | @end 82 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/ObjcParser/objcLex.h: -------------------------------------------------------------------------------- 1 | // 2 | // objcLex.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright (c) 2016年 louis. All rights reserved. 7 | // 8 | 9 | #ifndef __objcLex__ 10 | #define __objcLex__ 11 | 12 | #include 13 | #include 14 | 15 | using namespace std; 16 | 17 | static const int kFirstReserved = 257; 18 | static const int kEOS = 0; 19 | 20 | typedef enum { 21 | TT_interface = kFirstReserved, //@interface 22 | TT_protocol, //@protocol 23 | TT_end, //@end 24 | TT_import_sys, //#import 25 | TT_import_usr, 26 | TT_property, //@property 27 | TT_ident, 28 | TT_header, 29 | TT_ellipsis, //... 30 | TT_unknown, 31 | TT_eos, 32 | }TokenType; 33 | 34 | class Token{ 35 | public: 36 | string literal; 37 | int type; 38 | }; 39 | 40 | class ObjcLex{ 41 | public: 42 | ObjcLex(string &strSource); 43 | virtual ~ObjcLex(); 44 | 45 | Token & curToken(); 46 | Token & lookAhead(); 47 | void next(); 48 | int isEOS(); 49 | 50 | int lineNum; 51 | protected: 52 | int lex(); 53 | int matchIdent(); 54 | int matchInterface(); 55 | int matchProtocol(); 56 | int matchEnd(); 57 | int matchImport(); 58 | int matchProperty(); 59 | 60 | void skipComment(); 61 | void skipLongComment(); 62 | void readString(); 63 | 64 | int next_char(); 65 | int test(int c); 66 | int testSet(string strset); 67 | 68 | 69 | protected: 70 | string strSource; 71 | Token _curtk; 72 | Token _lookahead; 73 | int cur; 74 | int curChar; 75 | string buff; 76 | int bRecordIdent; 77 | }; 78 | 79 | 80 | #endif /* defined(__objcLex__) */ 81 | -------------------------------------------------------------------------------- /JSPatchX/JPObjcIndex/ObjcParser/objcParser.h: -------------------------------------------------------------------------------- 1 | // 2 | // objcParser.h 3 | // JSPatchX 4 | // 5 | // Created by louis on 4/16/16. 6 | // Copyright (c) 2016年 louis. All rights reserved. 7 | // 8 | 9 | #ifndef __objcParser__ 10 | #define __objcParser__ 11 | 12 | #include 13 | #include 14 | #include 15 | #include "objcLex.h" 16 | 17 | 18 | using namespace std; 19 | 20 | class FileSymbol; 21 | //toplevel symbol 22 | class ImportSymbol; 23 | class InterfaceSymbol; 24 | class ProtocolSymbol; 25 | //sub level symbol 26 | class MethodSymbol; 27 | class PropertySymbol; 28 | class ArgSymbol; 29 | 30 | #define PARSER_DONE 0 31 | #define PARSER_ERROR 1 32 | 33 | typedef enum { 34 | ST_File, 35 | ST_Import, 36 | ST_Interface, 37 | ST_Protocol, 38 | ST_Method, 39 | ST_Property, 40 | ST_Arg, 41 | ST_Unknown, 42 | } SymbolType; 43 | 44 | class Node{ 45 | public: 46 | vector childs; 47 | int type; 48 | int lineNum; 49 | public: 50 | Node(){ 51 | type = ST_Unknown; 52 | } 53 | 54 | virtual ~Node(){ 55 | for (int i = 0; i < childs.size(); ++i) { 56 | delete childs[i]; 57 | } 58 | childs.clear(); 59 | } 60 | 61 | template 62 | T * parseAndAdd(ObjcLex *lex){ 63 | T *n = new T(); 64 | n->lineNum = lex->lineNum; 65 | int ret = n->parse(lex); 66 | if (ret == PARSER_DONE){ 67 | childs.push_back(n); 68 | return n; 69 | } 70 | delete n; 71 | n = NULL; 72 | return n; 73 | } 74 | 75 | virtual int parse(ObjcLex *lex) = 0; 76 | protected: 77 | int checkToken(ObjcLex *lex, int ttype){ 78 | return lex->curToken().type == ttype; 79 | } 80 | 81 | int checkAndNext(ObjcLex *lex, int ttype){ 82 | if (checkToken(lex, ttype)) { 83 | lex->next(); 84 | return 1; 85 | } 86 | return 0; 87 | } 88 | }; 89 | 90 | class FileSymbol: public Node{ 91 | public: 92 | virtual int parse(ObjcLex *lex); 93 | public: 94 | vector imports; 95 | vector interfaces; 96 | vector protocols; 97 | }; 98 | 99 | class ImportSymbol: public Node{ 100 | public: 101 | virtual int parse(ObjcLex *lex); 102 | public: 103 | string path; 104 | int isSys; 105 | }; 106 | 107 | class InterfaceSymbol: public Node{ 108 | public: 109 | virtual int parse(ObjcLex *lex); 110 | public: 111 | string clsName; 112 | string cateName; 113 | string superClsName; 114 | int isCategory; 115 | vector protocols; 116 | vector methods; 117 | vector properties; 118 | }; 119 | 120 | class ProtocolSymbol: public Node{ 121 | public: 122 | virtual int parse(ObjcLex *lex); 123 | public: 124 | string protoName; 125 | vector protocols; 126 | vector methods; 127 | vector properties; 128 | }; 129 | 130 | class MethodSymbol: public Node{ 131 | public: 132 | virtual int parse(ObjcLex *lex); 133 | public: 134 | string methodName; 135 | string returnType; 136 | vector args; 137 | int isClassMethod; 138 | }; 139 | 140 | class PropertySymbol: public Node{ 141 | public: 142 | virtual int parse(ObjcLex *lex); 143 | public: 144 | string propertyName; 145 | vector attributes; //readonly, copy, retain ... 146 | string propertyType; 147 | }; 148 | 149 | class ArgSymbol: public Node{ 150 | public: 151 | virtual int parse(ObjcLex *lex); 152 | public: 153 | string selector; //optional 154 | string argType; //optional 155 | string argName; //required 156 | }; 157 | 158 | 159 | #endif /* defined(__objcParser__) */ 160 | -------------------------------------------------------------------------------- /JSPatchX/Libs/MethodSwizzle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MethodSwizzle.h 3 | * 4 | * Copyright (c) 2007-2011 Kent Sutherland 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | * this software and associated documentation files (the "Software"), to deal in 8 | * the Software without restriction, including without limitation the rights to use, 9 | * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the 10 | * Software, and to permit persons to whom the Software is furnished to do so, 11 | * subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | 24 | #import 25 | 26 | void MethodSwizzle(Class aClass, SEL orig_sel, SEL alt_sel); 27 | void MethodSwizzleClass(Class aClass, SEL orig_sel, SEL alt_sel); 28 | 29 | 30 | #define SWIZZLE(name)\ 31 | MethodSwizzle(self, @selector(name), @selector(swizzle_##name)) 32 | -------------------------------------------------------------------------------- /JSPatchX/Libs/MethodSwizzle.m: -------------------------------------------------------------------------------- 1 | /* 2 | * MethodSwizzle.m 3 | * 4 | * Copyright (c) 2007-2011 Kent Sutherland 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | * this software and associated documentation files (the "Software"), to deal in 8 | * the Software without restriction, including without limitation the rights to use, 9 | * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the 10 | * Software, and to permit persons to whom the Software is furnished to do so, 11 | * subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | 24 | #import "MethodSwizzle.h" 25 | #import 26 | 27 | void MethodSwizzle(Class aClass, SEL orig_sel, SEL alt_sel) 28 | { 29 | Method orig_method = nil, alt_method = nil; 30 | 31 | // First, look for the methods 32 | orig_method = class_getInstanceMethod(aClass, orig_sel); 33 | alt_method = class_getInstanceMethod(aClass, alt_sel); 34 | 35 | // If both are found, swizzle them 36 | if ((orig_method != nil) && (alt_method != nil)) { 37 | method_exchangeImplementations(orig_method, alt_method); 38 | } 39 | } 40 | 41 | void MethodSwizzleClass(Class aClass, SEL orig_sel, SEL alt_sel) 42 | { 43 | Method orig_method = nil, alt_method = nil; 44 | 45 | // First, look for the methods 46 | orig_method = class_getClassMethod(aClass, orig_sel); 47 | alt_method = class_getClassMethod(aClass, alt_sel); 48 | 49 | // If both are found, swizzle them 50 | if ((orig_method != nil) && (alt_method != nil)) { 51 | method_exchangeImplementations(orig_method, alt_method); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /JSPatchX/Libs/NSString+JSPatchX.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+JSPatchX.h 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSString (JSPatchX) 12 | - (NSString *)trim; 13 | @end -------------------------------------------------------------------------------- /JSPatchX/Libs/NSString+JSPatchX.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+JSPatchX.m 3 | // JSPatchX 4 | // 5 | // Created by bang on 4/17/16. 6 | // Copyright © 2016 bang. All rights reserved. 7 | // 8 | 9 | #import "NSString+JSPatchX.h" 10 | 11 | @implementation NSString (JSPatchX) 12 | 13 | - (NSString *)trim 14 | { 15 | return [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; 16 | } 17 | 18 | @end -------------------------------------------------------------------------------- /JSPatchX/Resource/defScanFramwork.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIKit.framework 6 | 7 | Foundation.framework 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DBGProcess.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "DVTInvalidation-Protocol.h" 10 | //#import "IDEDebugProcess-Protocol.h" 11 | 12 | @class DBGDebugSession, DBGStackFrame, DBGThread, DVTObservingToken, DVTStackBacktrace, IDELaunchSession, NSArray, NSMutableArray, NSMutableSet, NSString; 13 | 14 | @interface DBGProcess : NSObject /**/ 15 | { 16 | NSString *_associatedProcessUUID; 17 | NSMutableSet *_threadsAutoRefreshStackFrames; 18 | DBGThread *_currentThread; 19 | DBGStackFrame *_currentStackFrame; 20 | NSMutableArray *_memoryDatas; 21 | DVTObservingToken *_currentStackFrameValidityObserver; 22 | DVTStackBacktrace *_currentStackFrameBacktraceWhenSet; 23 | BOOL _threadsAutoRefreshStackFramesDone; 24 | int _controlState; 25 | int _PID; 26 | DBGDebugSession *_parentDebugSession; 27 | NSArray *_threads; 28 | NSArray *_queues; 29 | NSString *_name; 30 | } 31 | 32 | + (id)keyPathsForValuesAffectingName; 33 | + (id)keyPathsForValuesAffectingThreads; 34 | + (void)initialize; 35 | @property(nonatomic) BOOL threadsAutoRefreshStackFramesDone; // @synthesize threadsAutoRefreshStackFramesDone=_threadsAutoRefreshStackFramesDone; 36 | @property(nonatomic) int PID; // @synthesize PID=_PID; 37 | @property(copy, nonatomic) NSString *name; // @synthesize name=_name; 38 | @property(copy, nonatomic) NSArray *queues; // @synthesize queues=_queues; 39 | @property(copy, nonatomic) NSArray *threads; // @synthesize threads=_threads; 40 | @property(nonatomic) int controlState; // @synthesize controlState=_controlState; 41 | @property(readonly) DBGDebugSession *parentDebugSession; // @synthesize parentDebugSession=_parentDebugSession; 42 | @property(readonly, copy) NSString *associatedProcessUUID; // @synthesize associatedProcessUUID=_associatedProcessUUID; 43 | //- (void).cxx_destruct; 44 | - (void)primitiveInvalidate; 45 | @property(readonly, nonatomic) unsigned long long addressByteSize; 46 | - (void)removeMemoryData:(id)arg1; 47 | - (void)autoUpdateAllMemoryDatas; 48 | - (id)readMemoryAtAddress:(unsigned long long)arg1 numberOfBytes:(unsigned long long)arg2 progressHandler:(id)arg3 resultHandler:(void)arg4; 49 | - (id)readMemoryAtAddress:(unsigned long long)arg1 numberOfBytes:(unsigned long long)arg2 resultHandler:(id)arg3; 50 | - (void)rawMemoryDataForAddressExpression:(id)arg1 numberOfBytes:(unsigned long long)arg2 resultHandler:(id)arg3; 51 | - (id)memoryDataForUUID:(id)arg1; 52 | - (id)memoryDataForAddressOfExpression:(id)arg1 numberOfBytes:(unsigned long long)arg2; 53 | @property(retain, nonatomic) DBGStackFrame *currentStackFrame; // @synthesize currentStackFrame=_currentStackFrame; 54 | @property(retain, nonatomic) DBGThread *currentThread; // @synthesize currentThread=_currentThread; 55 | - (void)deregisterThreadAutoRefreshesStackFrames:(id)arg1; 56 | - (void)registerThreadAutoRefreshesStackFrames:(id)arg1; 57 | - (BOOL)_shouldSelectFirstSymbolFrame; 58 | - (BOOL)_shouldLookForStackFrameWithDebugSymbols; 59 | - (void)setInitialCurrentStackFrame; 60 | - (BOOL)isPaused; 61 | @property(readonly) NSString *displayStatus; 62 | @property(readonly) IDELaunchSession *launchSession; 63 | - (id)initWithDebugSession:(id)arg1; 64 | - (id)contentDelegateUIExtensionIdentifier; 65 | 66 | // Remaining properties 67 | @property(retain) DVTStackBacktrace *creationBacktrace; 68 | @property(readonly, copy) NSString *debugDescription; 69 | @property(readonly, copy) NSString *description; 70 | @property(readonly) unsigned long long hash; 71 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 72 | @property(readonly, nonatomic) NSArray *loadedCodeModules; 73 | @property(readonly, nonatomic) NSArray *memoryDatas; // @dynamic memoryDatas; 74 | @property(retain) NSMutableArray *mutableMemoryDatas; // @dynamic mutableMemoryDatas; 75 | @property(readonly) Class superclass; 76 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 77 | 78 | @end 79 | 80 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DBGProcessNavigableItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEKeyDrivenNavigableItem.h" 8 | 9 | @class DBGMemoryDataProcessWrapper, DBGViewDebuggerAdditionUIController, DVTObservingToken, NSArray, NSString; 10 | 11 | @interface DBGProcessNavigableItem : IDEKeyDrivenNavigableItem 12 | { 13 | NSArray *_cachedChildRepresentedObjects; 14 | NSArray *_queueContentArray; 15 | BOOL _hasFilterString; 16 | DBGMemoryDataProcessWrapper *_memoryDataGroup; 17 | DVTObservingToken *_viewDebuggerObservingToken; 18 | DVTObservingToken *_showOnlyInterestingViewObjectsObservingToken; 19 | DVTObservingToken *_showOnlyVisibleViewObjectsObservingToken; 20 | BOOL _showsCompressedStackFrames; 21 | BOOL _showsOnlyAncestorWithInterestingFrames; 22 | BOOL _showsPendingBlocks; 23 | int _navigatorContentMode; 24 | DBGViewDebuggerAdditionUIController *_viewDebuggingUIController; 25 | NSString *_filterString; 26 | } 27 | 28 | + (id)keyPathsForValuesAffectingSubtitle; 29 | + (id)keyPathsForValuesAffectingImage; 30 | + (id)keyPathsForValuesAffectingName; 31 | + (id)_mainQueueName; 32 | @property(retain, nonatomic) DBGMemoryDataProcessWrapper *memoryDataGroup; // @synthesize memoryDataGroup=_memoryDataGroup; 33 | @property(copy, nonatomic) NSString *filterString; // @synthesize filterString=_filterString; 34 | @property(retain, nonatomic) DBGViewDebuggerAdditionUIController *viewDebuggingUIController; // @synthesize viewDebuggingUIController=_viewDebuggingUIController; 35 | @property(nonatomic) BOOL showsPendingBlocks; // @synthesize showsPendingBlocks=_showsPendingBlocks; 36 | @property(nonatomic) BOOL showsOnlyAncestorWithInterestingFrames; // @synthesize showsOnlyAncestorWithInterestingFrames=_showsOnlyAncestorWithInterestingFrames; 37 | @property(nonatomic) BOOL showsCompressedStackFrames; // @synthesize showsCompressedStackFrames=_showsCompressedStackFrames; 38 | @property(nonatomic) int navigatorContentMode; // @synthesize navigatorContentMode=_navigatorContentMode; 39 | //- (void).cxx_destruct; 40 | - (void)primitiveInvalidate; 41 | - (void)invalidateChildItems; 42 | - (id)childRepresentedObjects; 43 | - (void)findInterestingThreads:(id *)arg1 filteredInterestingThreads:(id *)arg2 fromThreads:(id)arg3; 44 | - (id)_generateQueueChildrenFromFilteredInterestingThreads:(id)arg1; 45 | - (BOOL)isLeaf; 46 | - (id)subtitle; 47 | - (id)image; 48 | - (id)name; 49 | - (id)initWithRepresentedObject:(id)arg1; 50 | 51 | @end 52 | 53 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @interface DVTAnnotation : NSObject 10 | { 11 | double _precedence; 12 | id _representedObject; 13 | BOOL _visible; 14 | } 15 | 16 | @property(retain) id representedObject; // @synthesize representedObject=_representedObject; 17 | @property(getter=isVisible) BOOL visible; // @synthesize visible=_visible; 18 | @property double precedence; // @synthesize precedence=_precedence; 19 | //- (void).cxx_destruct; 20 | @property(readonly) BOOL hideCarets; 21 | - (id)annotationDisplayDescription; 22 | - (id)annotationDisplayName; 23 | - (long long)comparePrecedence:(id)arg1; 24 | - (id)init; 25 | 26 | @end 27 | 28 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTAnnotationContext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTFileDataType; 10 | 11 | @interface DVTAnnotationContext : NSObject 12 | { 13 | DVTFileDataType *_fileDataType; 14 | } 15 | 16 | @property(copy) DVTFileDataType *fileDataType; // @synthesize fileDataType=_fileDataType; 17 | //- (void).cxx_destruct; 18 | - (id)description; 19 | - (id)initWithFileDataType:(id)arg1; 20 | - (id)init; 21 | 22 | @end 23 | 24 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTAnnotationManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import 8 | 9 | //#import "DVTInvalidation.h" 10 | 11 | @class NSArray; 12 | @class DVTAnnotationContext; 13 | 14 | @protocol DVTAnnotationManagerDelegate 15 | - (void)didRemoveAnnotations:(NSArray *)arg1; 16 | - (void)didInsertAnnotations:(NSArray *)arg1; 17 | @end 18 | 19 | 20 | 21 | @class DVTStackBacktrace, NSMutableArray, NSString; 22 | 23 | @interface DVTAnnotationManager : NSObject /**/ 24 | { 25 | id _delegate; 26 | NSMutableArray *_annotationProviders; 27 | } 28 | 29 | + (unsigned long long)assertionBehaviorForKeyValueObservationsAtEndOfEvent; 30 | + (unsigned long long)assertionBehaviorAfterEndOfEventForSelector:(SEL)arg1; 31 | + (void)initialize; 32 | @property(retain) id delegate; // @synthesize delegate=_delegate; 33 | @property(retain) DVTAnnotationContext *context; // @synthesize context=_context; 34 | @property(retain) NSMutableArray *annotationProviders; // @synthesize annotationProviders=_annotationProviders; 35 | //- (void).cxx_destruct; 36 | - (void)removeAllAnnotationProviders; 37 | - (void)setupAnnotationProvidersWithContext:(id)arg1; 38 | - (id)_installObservationBlockForAnnotationProvider:(id)arg1; 39 | - (void)primitiveInvalidate; 40 | 41 | // Remaining properties 42 | @property(retain) DVTStackBacktrace *creationBacktrace; 43 | @property(readonly, copy) NSString *debugDescription; 44 | @property(readonly, copy) NSString *description; 45 | @property(readonly) unsigned long long hash; 46 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 47 | @property(readonly) Class superclass; 48 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTAnnotationProvider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSMutableSet, NSSet; 10 | 11 | @interface DVTAnnotationProvider : NSObject 12 | { 13 | NSMutableSet *_annotations; 14 | } 15 | 16 | + (id)annotationProviderForContext:(id)arg1 error:(id *)arg2; 17 | + (void)initialize; 18 | //- (void).cxx_destruct; 19 | - (void)providerWillUninstall; 20 | - (id)init; 21 | 22 | // Remaining properties 23 | @property(copy) NSSet *annotations; // @dynamic annotations; 24 | @property(readonly, copy) NSMutableSet *mutableAnnotations; // @dynamic mutableAnnotations; 25 | 26 | @end 27 | 28 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTCharStream.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTCheapReusableSubstring, DVTStringBuffer, NSMutableArray, NSString; 10 | 11 | @interface DVTCharStream : NSObject 12 | { 13 | DVTStringBuffer *_stringBuffer; 14 | NSString *_realString; 15 | DVTCheapReusableSubstring *_cheapString; 16 | NSMutableArray *_savedTokens; 17 | id _savedBottomToken; 18 | BOOL _isAtBOL; 19 | BOOL _isAtColumnZero; 20 | BOOL _BOLIsKnown; 21 | BOOL _SeenOneCharAtBOL; 22 | BOOL _SeenWhitespaceAtBOL; 23 | } 24 | 25 | //- (void).cxx_destruct; 26 | - (id)savedToken; 27 | - (BOOL)hasSavedTokens; 28 | - (void)saveToken:(id)arg1; 29 | - (id)stringWithRange:(struct _NSRange)arg1; 30 | - (unsigned long long)locationOfNewlineFrom:(unsigned long long)arg1 searchBackwards:(BOOL)arg2; 31 | - (unsigned long long)peekCharacterInSet:(id)arg1; 32 | - (unsigned short)peekCharSkippingWhitespace; 33 | - (unsigned short)peekChar; 34 | - (BOOL)isAtColumnZero; 35 | - (BOOL)isAtBOL; 36 | - (void)_computeBOL; 37 | - (unsigned short)nextCharSkippingWhitespace; 38 | - (unsigned short)nextChar; 39 | - (void)setLocation:(unsigned long long)arg1; 40 | - (unsigned long long)location; 41 | - (unsigned long long)length; 42 | - (id)string; 43 | - (void)setString:(id)arg1; 44 | - (id)initWithString:(id)arg1; 45 | 46 | @end 47 | 48 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTDocumentLocation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | /*#import "DVTSimpleSerialization-Protocol.h" 10 | #import "DVTStringRepresentationPersistable-Protocol.h" 11 | #import "NSCoding-Protocol.h" 12 | #import "NSCopying-Protocol.h"*/ 13 | 14 | @class NSDictionary, NSNumber, NSString, NSURL; 15 | 16 | @interface DVTDocumentLocation : NSObject /**/ 17 | { 18 | NSDictionary *_docParams; 19 | NSDictionary *_locParams; 20 | NSURL *_documentURL; 21 | NSNumber *_timestamp; 22 | } 23 | 24 | + (id)documentLocationWithURLScheme:(id)arg1 path:(id)arg2 documentParameters:(id)arg3 locationParameters:(id)arg4; 25 | @property(readonly) NSNumber *timestamp; // @synthesize timestamp=_timestamp; 26 | @property(readonly) NSURL *documentURL; // @synthesize documentURL=_documentURL; 27 | //- (void).cxx_destruct; 28 | - (id)locationParameters; 29 | - (id)documentParameters; 30 | - (id)documentPath; 31 | - (id)documentScheme; 32 | - (void)dvt_writeToSerializer:(id)arg1; 33 | - (id)dvt_initFromDeserializer:(id)arg1; 34 | - (void)encodeWithCoder:(id)arg1; 35 | - (id)initWithCoder:(id)arg1; 36 | - (id)dvt_persistableStringRepresentation; 37 | - (id)dvt_initFromPersistableStringRepresentation:(id)arg1 error:(id *)arg2; 38 | - (long long)compare:(id)arg1; 39 | @property(readonly, copy) NSString *description; 40 | - (BOOL)isEqualDisregardingTimestamp:(id)arg1; 41 | - (BOOL)isEqualToDocumentLocationDisregardingDocumentURL:(id)arg1; 42 | @property(readonly) unsigned long long hash; 43 | - (BOOL)isEqual:(id)arg1; 44 | - (id)copyWithURL:(id)arg1; 45 | - (id)copyWithZone:(struct _NSZone *)arg1; 46 | - (id)documentURLString; 47 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2; 48 | - (id)init; 49 | 50 | // Remaining properties 51 | @property(readonly, copy) NSString *debugDescription; 52 | @property(readonly) Class superclass; 53 | 54 | @end 55 | 56 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTGradientImageButton.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import "NSButton.h" 8 | 9 | //#import "DVTGradientStyleButton-Protocol.h" 10 | 11 | #import 12 | 13 | @class NSString; 14 | 15 | @interface DVTGradientImageButton : NSButton /**/ 16 | { 17 | } 18 | 19 | + (Class)cellClass; 20 | @property int highlightSides; 21 | @property int borderSides; 22 | @property int gradientStyle; 23 | @property BOOL showsState; 24 | 25 | // Remaining properties 26 | @property(readonly, copy) NSString *debugDescription; 27 | @property(readonly, copy) NSString *description; 28 | @property(readonly) unsigned long long hash; 29 | @property(readonly) Class superclass; 30 | 31 | @end 32 | 33 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTLanguageSpecification.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTSourceSpecification.h" 8 | 9 | @class DVTSourceModelParserProductionRule, DVTSourceScanner, NSDictionary, NSString; 10 | 11 | @interface DVTLanguageSpecification : DVTSourceSpecification 12 | { 13 | long long _uniqueId; 14 | Class _scannerClass; 15 | DVTSourceScanner *_scanner; 16 | NSDictionary *_syntaxRules; 17 | BOOL _includeInMenu; 18 | BOOL _usesCLikeIndentation; 19 | DVTSourceModelParserProductionRule *_productionRule; 20 | BOOL _preservesTrailingWhitespace; 21 | } 22 | 23 | + (id)identifierForUniqueId:(long long)arg1; 24 | + (long long)_uniqueIdForIdentifier:(id)arg1; 25 | + (id)specificationRegistryName; 26 | + (id)specificationTypePathExtensions; 27 | + (id)localizedSpecificationTypeName; 28 | + (id)specificationType; 29 | + (Class)specificationTypeBaseClass; 30 | @property(readonly) BOOL preservesTrailingWhitespace; // @synthesize preservesTrailingWhitespace=_preservesTrailingWhitespace; 31 | @property(retain) DVTSourceModelParserProductionRule *productionRule; // @synthesize productionRule=_productionRule; 32 | @property(readonly) NSDictionary *syntaxRules; // @synthesize syntaxRules=_syntaxRules; 33 | @property(readonly) Class scannerClass; // @synthesize scannerClass=_scannerClass; 34 | @property(readonly) BOOL usesCLikeIndentation; // @synthesize usesCLikeIndentation=_usesCLikeIndentation; 35 | @property(readonly) BOOL includeInMenu; // @synthesize includeInMenu=_includeInMenu; 36 | @property(readonly) long long uniqueId; // @synthesize uniqueId=_uniqueId; 37 | //- (void).cxx_destruct; 38 | @property(readonly) NSString *syntaxType; 39 | - (id)availableKeywords; 40 | - (id)lexerKeywords; 41 | @property(readonly) DVTSourceScanner *scanner; // @synthesize scanner=_scanner; 42 | - (id)name; 43 | - (id)initWithPropertyListDictionary:(id)arg1; 44 | 45 | @end 46 | 47 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTLayoutManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import 8 | 9 | //#import "DVTAnnotationManagerDelegate-Protocol.h" 10 | #import 11 | 12 | @class DVTMapTable, DVTPointerArray, NSArray, NSMutableArray, NSMutableSet, NSSet, NSString; 13 | 14 | @interface DVTLayoutManager : NSObject/*DVTFoldingLayoutManager */ 15 | { 16 | NSArray *_temporaryLinkRanges; 17 | NSMutableArray *_annotations; 18 | DVTPointerArray *_lastDeletedAnnotations; 19 | DVTMapTable *_messageBubblesForAnnotations; 20 | NSMutableSet *_accessoryAnnotations; 21 | NSArray *_sortedAccessoryAnnotations; 22 | //struct _DVTLayoutManagerFlags _lmFlags2; 23 | } 24 | 25 | + (void)initialize; 26 | @property(readonly) NSSet *accessoryAnnotations; // @synthesize accessoryAnnotations=_accessoryAnnotations; 27 | @property(readonly) NSArray *annotations; // @synthesize annotations=_annotations; 28 | @property(retain) NSArray *temporaryLinkRanges; // @synthesize temporaryLinkRanges=_temporaryLinkRanges; 29 | //- (void).cxx_destruct; 30 | - (struct _NSRange)rangeForCharacterRange:(struct _NSRange)arg1 withContextLines:(long long)arg2 proposedHeight:(double *)arg3 contentLines:(unsigned long long *)arg4 totalLines:(unsigned long long *)arg5; 31 | - (void)drawUnderlineForGlyphRange:(struct _NSRange)arg1 underlineType:(long long)arg2 baselineOffset:(double)arg3 lineFragmentRect:(struct CGRect)arg4 lineFragmentGlyphRange:(struct _NSRange)arg5 containerOrigin:(struct CGPoint)arg6; 32 | - (void)drawBackgroundForGlyphRange:(struct _NSRange)arg1 atPoint:(struct CGPoint)arg2; 33 | - (void)fillBackgroundRectArray:(struct CGRect *)arg1 count:(unsigned long long)arg2 forCharacterRange:(struct _NSRange)arg3 color:(id)arg4; 34 | - (void)textStorage:(id)arg1 didUpdateLineRange:(struct _NSRange)arg2 changeInLength:(long long)arg3 replacedCharacterRangeEndsOnLineTerminator:(BOOL)arg4 entireFirstLineReplaced:(BOOL)arg5; 35 | - (void)textStorageDidEndEditing:(id)arg1; 36 | - (void)textStorage:(id)arg1 willReplaceCharactersInRange:(struct _NSRange)arg2 withString:(id)arg3 changeInLength:(long long)arg4; 37 | - (void)foldingManager:(id)arg1 didUnfoldRange:(struct _NSRange)arg2; 38 | - (void)foldingManager:(id)arg1 didFoldRange:(struct _NSRange)arg2; 39 | - (void)didRemoveAnnotations:(id)arg1; 40 | - (void)didInsertAnnotations:(id)arg1; 41 | - (void)hideMessageBubblesInRange:(struct _NSRange)arg1; 42 | - (void)showMessageBubblesInRange:(struct _NSRange)arg1; 43 | @property(getter=isAnnotationAdjustmentEnabled) BOOL annotationAdjustmentEnabled; 44 | @property(nonatomic) BOOL severeBubbleAnnotationsMiniaturized; 45 | - (id)messageBubbleViewForAnnotation:(id)arg1; 46 | - (id)accessoryAnnotationsInRange:(struct _NSRange)arg1; 47 | - (void)messageBubbleAnnotation:(id)arg1 needsBubble:(BOOL)arg2; 48 | - (void)removeAnnotationsInRange:(struct _NSRange)arg1; 49 | - (void)removeAnnotation:(id)arg1; 50 | - (void)_removeAnnotationsAtIndexes:(id)arg1; 51 | - (void)addAnnotation:(id)arg1; 52 | - (id)annotationsInRange:(struct _NSRange)arg1; 53 | - (void)_mergeBubbleViewsAtParagraphIndex:(unsigned long long)arg1; 54 | - (id)_annotationIndexesInParagraphRange:(struct _NSRange)arg1 suggestedIndex:(unsigned long long *)arg2; 55 | - (void)_removeBubbleViewFromAnnotation:(id)arg1; 56 | - (void)_addBubbleViewToAnnotation:(id)arg1 annotationsInRange:(id)arg2; 57 | - (void)_assertAnnotationIntegrity; 58 | - (void)_updateMessageBubbleVisibilityForAnnotation:(id)arg1; 59 | @property BOOL temporaryLinkIsAlternate; 60 | - (void)clearTemporaryLinkRanges; 61 | - (void)setTemporaryLinkRanges:(id)arg1 isAlternate:(BOOL)arg2; 62 | - (void)invalidateDisplayForCharacterRange:(struct _NSRange)arg1; 63 | - (void)_invalidateLayoutForMessageBubblesInCharacterRange:(struct _NSRange)arg1; 64 | - (unsigned long long)layoutOptions; 65 | - (id)initWithCoder:(id)arg1; 66 | - (id)init; 67 | - (void)_layoutManagerCommonInit; 68 | 69 | // Remaining properties 70 | @property(readonly, copy) NSString *debugDescription; 71 | @property(readonly, copy) NSString *description; 72 | @property(readonly) unsigned long long hash; 73 | @property(readonly) Class superclass; 74 | 75 | @end 76 | 77 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTLayoutView_ML.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import "NSView.h" 8 | #import 9 | 10 | @class NSCountedSet, NSMutableDictionary; 11 | 12 | @interface DVTLayoutView_ML : NSView 13 | { 14 | NSCountedSet *_frameChangeObservations; 15 | NSCountedSet *_boundsChangeObservations; 16 | BOOL _implementsDrawRect; 17 | BOOL _implementsLayoutCompletionCallback; 18 | BOOL _layoutNeeded; 19 | NSMutableDictionary *_invalidationTokens; 20 | BOOL _needsSecondLayoutPass; 21 | } 22 | 23 | + (void)_layoutWindow:(id)arg1; 24 | + (void)_recursivelyLayoutSubviewsOfView:(id)arg1 populatingSetWithLaidOutViews:(id)arg2; 25 | + (void)_doRecursivelyLayoutSubviewsOfView:(id)arg1 populatingSetWithLaidOutViews:(id)arg2 completionCallBackHandlers:(id)arg3 currentLayoutPass:(long long)arg4 needsSecondPass:(char *)arg5; 26 | + (void)scheduleWindowForLayout:(id)arg1; 27 | + (id)alreadyLaidOutViewsForCurrentDisplayPassOfWindow:(id)arg1; 28 | + (void)clearAlreadyLaidOutViewsForCurrentDisplayPassOfWindow:(id)arg1; 29 | @property BOOL needsSecondLayoutPass; // @synthesize needsSecondLayoutPass=_needsSecondLayoutPass; 30 | @property(getter=isLayoutNeeded) BOOL layoutNeeded; // @synthesize layoutNeeded=_layoutNeeded; 31 | //- (void).cxx_destruct; 32 | - (BOOL)wantsDefaultClipping; 33 | - (void)stopInvalidatingLayoutWithChangesToKeyPath:(id)arg1 ofObject:(id)arg2; 34 | - (void)invalidateLayoutWithChangesToKeyPath:(id)arg1 ofObject:(id)arg2; 35 | - (void)_autoLayoutViewViewFrameDidChange:(id)arg1; 36 | - (void)_autoLayoutViewViewBoundsDidChange:(id)arg1; 37 | - (void)stopInvalidatingLayoutWithBoundsChangesToView:(id)arg1; 38 | - (void)stopInvalidatingLayoutWithFrameChangesToView:(id)arg1; 39 | - (void)invalidateLayoutWithBoundsChangesToView:(id)arg1; 40 | - (void)invalidateLayoutWithFrameChangesToView:(id)arg1; 41 | - (void)tearDownObservationForObservedObject:(id)arg1 notificationName:(id)arg2 table:(id)arg3; 42 | - (void)setupObservationForObservedObject:(id)arg1 selector:(SEL)arg2 notificationName:(id)arg3 table:(id *)arg4; 43 | - (void)setFrameSize:(struct CGSize)arg1; 44 | - (void)didCompleteLayout; 45 | - (void)layoutBottomUp; 46 | - (void)layoutTopDown; 47 | - (void)layoutIfNeeded; 48 | - (void)didLayoutSubview:(id)arg1; 49 | - (id)subviewsOrderedForLayout; 50 | - (void)viewWillDraw; 51 | - (void)_reallyLayoutIfNeededBottomUp; 52 | - (void)_reallyLayoutIfNeededTopDown; 53 | - (void)invalidateLayout; 54 | - (void)viewDidMoveToWindow; 55 | - (id)initWithCoder:(id)arg1; 56 | - (id)initWithFrame:(struct CGRect)arg1; 57 | - (void)_DVTLayoutView_MLSharedInit; 58 | - (void)dealloc; 59 | 60 | @end 61 | 62 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTMacroDefinitionTable.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "NSCopying-Protocol.h" 10 | //#import "NSMutableCopying-Protocol.h" 11 | 12 | @class NSDictionary, NSSet, NSString; 13 | 14 | @interface DVTMacroDefinitionTable : NSObject 15 | { 16 | struct DVTMacroValueAssignmentMapTable *_mapTable; 17 | NSString *_label; 18 | int _cacheLock; 19 | NSDictionary *_cachedDictRep; 20 | NSSet *_cachedMacroNameSet; 21 | unsigned long long _cachedHash; 22 | int _retainCount; 23 | BOOL _isImmutable; 24 | BOOL _postsChangeNotifications; 25 | id _willSetValueBlock; 26 | id _didSetValueBlock; 27 | } 28 | 29 | + (id)macroNameRegistry; 30 | + (id)newWithLabel:(id)arg1; 31 | @property BOOL postsChangeNotifications; // @synthesize postsChangeNotifications=_postsChangeNotifications; 32 | //- (void).cxx_destruct; 33 | - (id)description; 34 | - (id)descriptionWithLocale:(id)arg1 indent:(unsigned long long)arg2; 35 | - (void)assertInternalConsistency; 36 | - (void)setObject:(id)arg1 forKeyedSubscript:(id)arg2; 37 | - (id)objectForKeyedSubscript:(id)arg1; 38 | - (id)valueForKey:(id)arg1; 39 | - (void)makeImmutable; 40 | - (BOOL)isImmutable; 41 | - (id)mutableCopyWithZone:(struct _NSZone *)arg1; 42 | - (id)copyWithZone:(struct _NSZone *)arg1; 43 | - (void)removeAllMacros; 44 | - (void)removeMacroNames:(id)arg1; 45 | //- (void)removeMacroNames:(id)arg1 arguments:(struct __va_list_tag [1])arg2; 46 | - (void)removeMacroName:(id)arg1; 47 | - (void)setMacroNamesAndValuesFromMacroDefinitionTable:(id)arg1; 48 | - (void)setMacroNamesAndValuesFromDictionary:(id)arg1; 49 | - (id)allMacroNames; 50 | - (id)dictionaryRepresentation; 51 | - (void)enumerateMacroNamesAndValuesUsingBlock:(id)arg1; 52 | - (void)enumerateValuesForMacroName:(id)arg1 usingBlock:(id)arg2; 53 | - (id)valueForMacroName:(id)arg1 conditionSet:(id)arg2; 54 | - (void)parseAndSetValue:(id)arg1 forMacroName:(id)arg2 conditionSet:(id)arg3; 55 | - (void)setLiteralValue:(id)arg1 forMacroName:(id)arg2 conditionSet:(id)arg3; 56 | - (void)setValue:(id)arg1 forMacroName:(id)arg2 conditionSet:(id)arg3; 57 | - (void)discardCaches; 58 | - (BOOL)isEqual:(id)arg1; 59 | - (unsigned long long)hash; 60 | @property(copy) id didSetValueBlock; 61 | @property(copy) id willSetValueBlock; 62 | - (unsigned long long)count; 63 | - (unsigned long long)numberOfDefinitions; 64 | - (unsigned long long)numberOfMacros; 65 | @property(copy) NSString *label; 66 | - (void)dealloc; 67 | - (id)init; 68 | - (id)initWithLabel:(id)arg1; 69 | - (BOOL)_isDeallocating; 70 | - (BOOL)_tryRetain; 71 | - (unsigned long long)retainCount; 72 | - (oneway void)release; 73 | - (id)retain; 74 | 75 | @end 76 | 77 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTMessageBubbleAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTTextAnnotation.h" 8 | 9 | @protocol DVTMessageBubbleAnnotationDelegate 10 | 11 | @optional 12 | - (void)didClickMessageBubbleForAnnotation:(id)arg1 onIcon:(BOOL)arg2 inTextView:(id)arg3 event:(id)arg4; 13 | @end 14 | 15 | 16 | @class NSImage, NSString; 17 | 18 | @interface DVTMessageBubbleAnnotation : DVTTextAnnotation 19 | { 20 | NSString *_messageBubbleText; 21 | NSImage *_messageBubbleIcon; 22 | BOOL _miniaturized; 23 | BOOL _wantsPreferredSizeAndPosition; 24 | BOOL _wantsFlatStyle; 25 | unsigned long long _messageBubbleTextAlignment; 26 | NSString *_messageBubbleToolTipText; 27 | } 28 | 29 | @property BOOL wantsFlatStyle; // @synthesize wantsFlatStyle=_wantsFlatStyle; 30 | @property BOOL wantsPreferredSizeAndPosition; // @synthesize wantsPreferredSizeAndPosition=_wantsPreferredSizeAndPosition; 31 | @property(copy, nonatomic) NSString *messageBubbleToolTipText; // @synthesize messageBubbleToolTipText=_messageBubbleToolTipText; 32 | @property(retain, nonatomic) NSImage *messageBubbleIcon; // @synthesize messageBubbleIcon=_messageBubbleIcon; 33 | @property unsigned long long messageBubbleTextAlignment; // @synthesize messageBubbleTextAlignment=_messageBubbleTextAlignment; 34 | @property(copy, nonatomic) NSString *messageBubbleText; // @synthesize messageBubbleText=_messageBubbleText; 35 | @property(nonatomic, getter=isMiniaturized) BOOL miniaturized; // @synthesize miniaturized=_miniaturized; 36 | //- (void).cxx_destruct; 37 | - (id)annotationDisplayDescription; 38 | @property(retain) id delegate; 39 | - (void)fontAndColorThemeChanged:(id)arg1; 40 | - (void)invalidateDisplayAndLayoutIfNeeded:(BOOL)arg1; 41 | - (void)setNeedsInvalidate; 42 | - (id)currentStateInTextView:(id)arg1; 43 | - (BOOL)drawsHighlightedRanges; 44 | - (void)drawLineHighlightInRect:(struct CGRect)arg1 textView:(id)arg2; 45 | - (BOOL)drawsLineHighlight; 46 | - (struct CGRect)sidebarMarkerRectForFirstLineRect:(struct CGRect)arg1; 47 | - (double)preferredWidthForAvailableWidth:(double)arg1; 48 | - (void)setVisible:(BOOL)arg1; 49 | @property int messageBubbleStackPolicy; 50 | - (id)init; 51 | 52 | @end 53 | 54 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTModelObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import 10 | 11 | @class DVTModelObjectGraph, NSString; 12 | 13 | @interface DVTModelObject : NSObject /**/ 14 | { 15 | DVTModelObjectGraph *_objectGraph; 16 | id _observationInfo; 17 | int _retainCount; 18 | } 19 | 20 | //- (void).cxx_destruct; 21 | @property(retain, nonatomic) DVTModelObjectGraph *objectGraph; 22 | - (void)setObservationInfo:(id)arg1; 23 | - (id)observationInfo; 24 | - (BOOL)_isDeallocating; 25 | - (BOOL)_tryRetain; 26 | - (unsigned long long)retainCount; 27 | - (oneway void)release; 28 | - (id)retain; 29 | 30 | // Remaining properties 31 | @property(readonly, copy) NSString *debugDescription; 32 | @property(readonly, copy) NSString *description; 33 | @property(readonly) unsigned long long hash; 34 | @property(readonly) Class superclass; 35 | 36 | @end 37 | 38 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTObservingBlockToken.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTObservingToken.h" 8 | 9 | @class NSString; 10 | 11 | @interface DVTObservingBlockToken : DVTObservingToken 12 | { 13 | id _owner; 14 | id _observedObject; 15 | id _handlerBlock; 16 | NSString *_keyPath; 17 | } 18 | 19 | @property(retain) id owner; // @synthesize owner=_owner; 20 | //- (void).cxx_destruct; 21 | - (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4; 22 | - (void)setHandlerBlock:(id)arg1 forKeyPath:(id)arg2 options:(id)arg3; 23 | - (void)_tearDownObserving; 24 | - (void)_setupObservingWithOptions:(unsigned long long)arg1; 25 | - (id)description; 26 | - (void)_primitiveCancelObservation; 27 | - (void)cancel; 28 | - (id)initWithObservedObject:(id)arg1 owner:(id)arg2; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTObservingToken.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "NSObject.h" 10 | 11 | //#import "DVTCancellable-Protocol.h" 12 | 13 | @class DVTStackBacktrace, NSString; 14 | 15 | @interface DVTObservingToken : NSObject /**/ 16 | { 17 | BOOL _isCancelled; 18 | void *_keepSelfAliveUntilPrimitiveCancellationRef; 19 | DVTStackBacktrace *_creationBacktrace; 20 | } 21 | 22 | + (void)initialize; 23 | @property(retain) DVTStackBacktrace *creationBacktrace; // @synthesize creationBacktrace=_creationBacktrace; 24 | //- (void).cxx_destruct; 25 | - (void)dealloc; 26 | @property(readonly, getter=isCancelled) BOOL cancelled; 27 | - (void)cancel; 28 | - (void)_primitiveCancelObservation; 29 | - (id)init; 30 | 31 | // Remaining properties 32 | @property(readonly, copy) NSString *debugDescription; 33 | @property(readonly, copy) NSString *description; 34 | @property(readonly) unsigned long long hash; 35 | @property(readonly) Class superclass; 36 | 37 | @end 38 | 39 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTDispatchLock, NSError, NSMutableArray; 10 | 11 | @interface DVTOperation : NSOperation 12 | { 13 | id _block; 14 | NSError *_error; 15 | DVTDispatchLock *_cancellationRegistrationLock; 16 | DVTDispatchLock *_cancellationBlockLock; 17 | NSMutableArray *_cancellationBlockTokens; 18 | DVTDispatchLock *_finishingLock; 19 | NSMutableArray *_finishingTokens; 20 | BOOL _preventFinish; 21 | } 22 | 23 | + (void)_trackStateChange:(id)arg1 ofOperation:(id)arg2 forKeyPath:(id)arg3; 24 | + (id)unfinishedOperations; 25 | + (id)operationWithBlock:(id)arg1; 26 | @property BOOL preventFinish; // @synthesize preventFinish=_preventFinish; 27 | @property(copy) NSError *error; // @synthesize error=_error; 28 | @property(copy) id block; // @synthesize block=_block; 29 | //- (void).cxx_destruct; 30 | - (void)trackFuture:(id)arg1; 31 | - (void)trackFuture:(id)arg1 cancel:(BOOL)arg2 error:(BOOL)arg3; 32 | - (id)stateString; 33 | - (void)enumerateUsingBlock:(id)arg1; 34 | - (void)_enumerateWithStop:(char *)arg1 usingBlock:(id)arg2; 35 | - (void)allowFinishForToken:(id)arg1; 36 | - (id)disallowFinishWithReason:(id)arg1; 37 | - (BOOL)isFinished; 38 | - (void)cancel; 39 | - (BOOL)unregisterCancellationBlockForToken:(id)arg1; 40 | - (id)registerCancellationBlock:(id)arg1; 41 | - (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4; 42 | - (void)main; 43 | - (id)description; 44 | - (id)init; 45 | 46 | @end 47 | 48 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTSourceCodeLanguage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTLanguageSpecification, NSArray, NSString; 10 | 11 | @interface DVTSourceCodeLanguage : NSObject 12 | { 13 | NSString *_identifier; 14 | NSString *_languageName; 15 | NSString *_languageSpecificationIdentifier; 16 | DVTLanguageSpecification *_languageSpecification; 17 | NSString *_documentationAbbreviation; 18 | NSArray *_fileDataTypeIdentifiers; 19 | NSArray *_fileDataTypes; 20 | NSArray *_conformedToLanguageIdentifiers; 21 | NSArray *_conformedToLanguages; 22 | Class _nativeSourceModelParserClass; 23 | BOOL _supportsIndentation; 24 | NSArray *_commentSyntaxes; 25 | NSArray *_lineCommentPrefixes; 26 | NSArray *_blockCommentCircumfixes; 27 | } 28 | 29 | + (id)sourceCodeLanguageForFileDataType:(id)arg1; 30 | + (id)sourceCodeLanguageWithIdentifier:(id)arg1; 31 | + (id)sourceCodeLanguages; 32 | + (id)_sourceCodeLanguageForExtension:(id)arg1; 33 | + (void)initialize; 34 | @property(readonly) BOOL supportsIndentation; // @synthesize supportsIndentation=_supportsIndentation; 35 | @property(readonly) Class nativeSourceModelParserClass; // @synthesize nativeSourceModelParserClass=_nativeSourceModelParserClass; 36 | @property(readonly, copy) NSString *documentationAbbreviation; // @synthesize documentationAbbreviation=_documentationAbbreviation; 37 | @property(readonly, copy) NSString *languageName; // @synthesize languageName=_languageName; 38 | @property(readonly, copy) NSString *identifier; // @synthesize identifier=_identifier; 39 | //- (void).cxx_destruct; 40 | - (id)blockCommentCircumfixes; 41 | - (id)lineCommentPrefixes; 42 | - (BOOL)conformsToLanguage:(id)arg1; 43 | @property(readonly, copy) NSArray *conformedToLanguages; 44 | @property(readonly, copy) NSArray *fileDataTypes; 45 | @property(readonly) DVTLanguageSpecification *languageSpecification; 46 | - (id)copyWithZone:(struct _NSZone *)arg1; 47 | - (id)description; 48 | - (id)initWithSourceCodeLanguageExtension:(id)arg1; 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTSourceCodeSymbolKind.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSArray, NSString; 10 | 11 | @interface DVTSourceCodeSymbolKind : NSObject 12 | { 13 | NSString *_identifier; 14 | NSString *_localizedDescription; 15 | NSArray *_conformedToSymbolKindIdentifiers; 16 | NSArray *_conformedToSymbolKinds; 17 | NSArray *_allConformingSymbolKinds; 18 | BOOL _navigationPrefersDefinition; 19 | } 20 | 21 | + (id)sourceCodeSymbolKinds; 22 | + (id)sourceCodeSymbolKindForIdentifier:(id)arg1; 23 | + (id)_sourceCodeSymbolKindForExtension:(id)arg1; 24 | + (void)initialize; 25 | + (id)classMethodTemplateSymbolKind; 26 | + (id)instanceMethodTemplateSymbolKind; 27 | + (id)functionTemplateSymbolKind; 28 | + (id)classTemplateSymbolKind; 29 | + (id)namespaceSymbolKind; 30 | + (id)ibOutletCollectionPropertySymbolKind; 31 | + (id)ibOutletCollectionVariableSymbolKind; 32 | + (id)ibOutletCollectionSymbolKind; 33 | + (id)ibOutletPropertySymbolKind; 34 | + (id)ibOutletVariableSymbolKind; 35 | + (id)ibOutletSymbolKind; 36 | + (id)ibActionMethodSymbolKind; 37 | + (id)testMethodSymbolKind; 38 | + (id)globalVariableSymbolKind; 39 | + (id)localVariableSymbolKind; 40 | + (id)unionSymbolKind; 41 | + (id)typedefSymbolKind; 42 | + (id)structSymbolKind; 43 | + (id)protocolSymbolKind; 44 | + (id)propertySymbolKind; 45 | + (id)parameterSymbolKind; 46 | + (id)macroSymbolKind; 47 | + (id)classVariableSymbolKind; 48 | + (id)instanceVariableSymbolKind; 49 | + (id)instanceMethodSymbolKind; 50 | + (id)functionSymbolKind; 51 | + (id)fieldSymbolKind; 52 | + (id)enumConstantSymbolKind; 53 | + (id)enumSymbolKind; 54 | + (id)classSymbolKind; 55 | + (id)classMethodSymbolKind; 56 | + (id)categorySymbolKind; 57 | + (id)builtinTypeSymbolKind; 58 | + (id)memberContainerSymbolKind; 59 | + (id)memberSymbolKind; 60 | + (id)callableSymbolKind; 61 | + (id)globalSymbolKind; 62 | + (id)containerSymbolKind; 63 | @property(readonly) BOOL navigationPrefersDefinition; // @synthesize navigationPrefersDefinition=_navigationPrefersDefinition; 64 | @property(readonly, copy) NSString *localizedDescription; // @synthesize localizedDescription=_localizedDescription; 65 | @property(readonly, copy) NSString *identifier; // @synthesize identifier=_identifier; 66 | //- (void).cxx_destruct; 67 | - (BOOL)conformsToSymbolKind:(id)arg1; 68 | @property(readonly, getter=isContainer) BOOL container; 69 | @property(readonly, copy) NSArray *allConformingSymbolKinds; 70 | @property(readonly, copy) NSArray *conformedToSymbolKinds; 71 | - (id)copyWithZone:(struct _NSZone *)arg1; 72 | - (id)description; 73 | - (id)initWithSourceCodeSymbolKindExtension:(id)arg1; 74 | 75 | @end 76 | 77 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTSourceModelItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSMutableArray; 10 | 11 | @interface DVTSourceModelItem : NSObject 12 | { 13 | int _rc; 14 | struct _NSRange _relativeLocation; 15 | long long _langId; 16 | long long _token; 17 | DVTSourceModelItem *_parent; 18 | NSMutableArray *_children; 19 | unsigned int _nodeType:15; 20 | unsigned int _isOpaque:1; 21 | unsigned int _dirty:1; 22 | unsigned int _isBlock:1; 23 | unsigned int _ignoreToken:1; 24 | unsigned int _inheritsNodeType:1; 25 | unsigned int _isIdentifier:1; 26 | unsigned int _needsAdjustNodeType:1; 27 | unsigned int _isSimpleToken:1; 28 | unsigned int _isVolatile:1; 29 | unsigned int _needToDirtyRightEdges:1; 30 | } 31 | 32 | + (id)sourceModelItemWithRange:(struct _NSRange)arg1 language:(long long)arg2 token:(long long)arg3 nodeType:(short)arg4; 33 | @property struct _NSRange relativeLocation; // @synthesize relativeLocation=_relativeLocation; 34 | @property(retain, nonatomic) NSMutableArray *children; // @synthesize children=_children; 35 | @property(nonatomic) DVTSourceModelItem *parent; // @synthesize parent=_parent; 36 | @property long long token; // @synthesize token=_token; 37 | @property long long langId; // @synthesize langId=_langId; 38 | //- (void).cxx_destruct; 39 | - (void)enumerateIdentifierItemsInRelativeRange:(struct _NSRange)arg1 usingBlock:(id)arg2; 40 | - (void)clearAdjustedNodeTypes; 41 | - (long long)compare:(id)arg1; 42 | - (id)followingItem; 43 | - (id)precedingItem; 44 | - (id)_lastLeafItem; 45 | - (id)_firstLeafItem; 46 | - (id)nextItem; 47 | - (id)previousItem; 48 | - (BOOL)isAncestorOf:(id)arg1; 49 | - (id)childAdjoiningLocation:(unsigned long long)arg1; 50 | - (id)childEnclosingLocation:(unsigned long long)arg1; 51 | - (id)_childEnclosingLocation:(unsigned long long)arg1; 52 | - (unsigned long long)indexOfChildAtLocation:(unsigned long long)arg1; 53 | - (unsigned long long)indexOfChildAfterLocation:(unsigned long long)arg1; 54 | - (unsigned long long)indexOfChildBeforeLocation:(unsigned long long)arg1; 55 | - (unsigned long long)numberOfChildren; 56 | - (void)addChildrenFromArray:(id)arg1 inRange:(struct _NSRange)arg2; 57 | - (void)addChildren:(id)arg1; 58 | - (void)addChild:(id)arg1; 59 | - (void)assignAllParents:(id)arg1; 60 | - (void)assignParents:(id)arg1; 61 | - (BOOL)isVolatile; 62 | - (void)setVolatile:(BOOL)arg1; 63 | @property BOOL needsAdjustNodeType; 64 | - (BOOL)needToDirtyRightEdges; 65 | - (void)setNeedToDirtyRightEdges:(BOOL)arg1; 66 | - (BOOL)isSimpleToken; 67 | - (void)setIsSimpleToken:(BOOL)arg1; 68 | - (BOOL)inheritsNodeType; 69 | - (void)setInheritsNodeType:(BOOL)arg1; 70 | - (BOOL)ignoreToken; 71 | - (void)setIgnoreToken:(BOOL)arg1; 72 | - (BOOL)dirty; 73 | - (void)setDirty:(BOOL)arg1; 74 | - (BOOL)isIdentifier; 75 | - (short)rawNodeType; 76 | - (BOOL)isOpaque; 77 | - (void)setIsOpaque:(BOOL)arg1; 78 | - (short)nodeType; 79 | - (void)setNodeType:(short)arg1; 80 | - (struct _NSRange)innerRange; 81 | - (void)offsetBy:(long long)arg1; 82 | - (void)setRange:(struct _NSRange)arg1; 83 | - (struct _NSRange)range; 84 | - (id)enclosingBlock; 85 | - (long long)blockDepth; 86 | - (void)setIsBlock:(BOOL)arg1; 87 | - (BOOL)isBlock; 88 | - (void)dirtyRange:(struct _NSRange)arg1 changeInLength:(long long)arg2; 89 | - (void)dirtyRelativeRange:(struct _NSRange)arg1 changeInLength:(long long)arg2; 90 | - (void)validate; 91 | - (id)dumpContext; 92 | - (id)contextArray; 93 | - (id)simpleDescription; 94 | - (id)diffableDescription; 95 | - (id)description; 96 | - (id)innerDescription:(id)arg1 showSelf:(BOOL)arg2; 97 | - (id)initWithRange:(struct _NSRange)arg1 language:(long long)arg2 token:(long long)arg3 nodeType:(short)arg4; 98 | - (BOOL)_isDeallocating; 99 | - (BOOL)_tryRetain; 100 | - (unsigned long long)retainCount; 101 | - (oneway void)release; 102 | - (id)retain; 103 | 104 | @end 105 | 106 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTSourceScanner.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTLanguageSpecification, NSArray, NSMutableArray; 10 | 11 | @interface DVTSourceScanner : NSObject 12 | { 13 | DVTLanguageSpecification *_langSpec; 14 | NSMutableArray *_includedRules; 15 | DVTSourceScanner *_lexer; 16 | long long _langId; 17 | long long _token; 18 | unsigned int _nodeType:16; 19 | unsigned int _altNodeType:16; 20 | unsigned int _startAtBOL:1; 21 | unsigned int _startAtColumnZero:1; 22 | unsigned int _isFoldable:1; 23 | unsigned int _ignoreToken:1; 24 | unsigned int _inheritsNodeType:1; 25 | unsigned int _altIgnoreToken:1; 26 | unsigned int _altInheritsNodeType:1; 27 | unsigned int _needToDirtyRightEdges:1; 28 | } 29 | 30 | + (void)initialize; 31 | @property(readonly) DVTLanguageSpecification *langSpec; // @synthesize langSpec=_langSpec; 32 | @property(readonly) DVTSourceScanner *lexer; // @synthesize lexer=_lexer; 33 | @property(readonly) long long token; // @synthesize token=_token; 34 | @property(readonly) long long langId; // @synthesize langId=_langId; 35 | //- (void).cxx_destruct; 36 | - (struct _NSRange)wordRangeInString:(id)arg1 fromIndex:(unsigned long long)arg2; 37 | - (struct _NSRange)wordRangeInString:(id)arg1 fromIndex:(unsigned long long)arg2 allowNonWords:(BOOL)arg3; 38 | - (BOOL)canTokenize; 39 | - (id)parse:(id)arg1 withContext:(id)arg2 initialToken:(long long)arg3 inputStream:(id)arg4 range:(struct _NSRange)arg5 dirtyRange:(struct _NSRange *)arg6; 40 | - (BOOL)predictsRule:(long long)arg1 inputStream:(id)arg2; 41 | - (void)parseIncludedRules:(id)arg1 inTree:(id)arg2 withContext:(id)arg3 initialToken:(long long)arg4 inputStream:(id)arg5 range:(struct _NSRange)arg6 dirtyRange:(struct _NSRange *)arg7; 42 | - (long long)parseOneIncludedRule:(id)arg1 inTree:(id)arg2 withContext:(id)arg3 initialToken:(long long)arg4 inputStream:(id)arg5 range:(struct _NSRange)arg6 dirtyRange:(struct _NSRange *)arg7 isLexing:(BOOL)arg8 reusedToken:(char *)arg9; 43 | - (id)nodeForThisScanner:(id)arg1 atLocation:(unsigned long long)arg2 inputStream:(id)arg3; 44 | - (id)nodeToReuse:(id)arg1 forScanner:(id)arg2 inputStream:(id)arg3; 45 | @property(readonly) NSArray *includedRules; // @synthesize includedRules=_includedRules; 46 | - (id)description; 47 | - (id)initWithLanguageSpecification:(id)arg1; 48 | - (id)initWithPropertyListDictionary:(id)arg1 language:(long long)arg2; 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTSourceSpecification.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSDictionary, NSString; 10 | 11 | @interface DVTSourceSpecification : NSObject 12 | { 13 | NSString *_identifier; 14 | NSString *_superSpecIdentifier; 15 | DVTSourceSpecification *_superSpecification; 16 | NSDictionary *_properties; 17 | } 18 | 19 | + (id)localizedSpecificationTypeName; 20 | + (id)specificationRegistry; 21 | + (id)specificationRegistryName; 22 | + (id)_subSpecificationsOfSpecification:(id)arg1; 23 | + (id)registeredSpecifications; 24 | + (id)specificationsForIdentifiers:(id)arg1; 25 | + (id)specificationForIdentifier:(id)arg1; 26 | + (void)registerSpecificationTypeBaseClass:(Class)arg1; 27 | + (id)registerSpecificationProxiesFromPropertyListsInDirectory:(id)arg1 recursively:(BOOL)arg2; 28 | + (id)registerSpecificationProxiesFromPropertyListsInDirectory:(id)arg1 recursively:(BOOL)arg2 inBundle:(id)arg3; 29 | + (BOOL)_shouldRecurseIntoDirectoryNamed:(id)arg1 ofType:(id)arg2; 30 | + (id)_registerSpecificationProxiesOfType:(id)arg1 fromDictionaryOrArray:(id)arg2 inDirectory:(id)arg3 bundle:(id)arg4 sourceDescription:(id)arg5; 31 | + (id)registerSpecificationProxyFromPropertyList:(id)arg1; 32 | + (id)_pathExensionsToTypesRegistry; 33 | + (id)_typesToSpecTypeBaseClassesRegistry; 34 | + (id)specificationTypePathExtensions; 35 | + (id)specificationType; 36 | + (Class)specificationTypeBaseClass; 37 | + (void)registerSpecificationOrProxy:(id)arg1; 38 | + (void)initialize; 39 | + (void)searchForAndRegisterAllAvailableSpecifications; 40 | @property(readonly) NSDictionary *properties; // @synthesize properties=_properties; 41 | @property(readonly) NSString *superSpecIdentifier; // @synthesize superSpecIdentifier=_superSpecIdentifier; 42 | //- (void).cxx_destruct; 43 | - (id)description; 44 | @property(readonly) NSString *identifier; // @synthesize identifier=_identifier; 45 | - (id)name; 46 | - (id)stringForKey:(id)arg1; 47 | - (id)objectForKey:(id)arg1; 48 | - (id)_objectForKeyIgnoringInheritance:(id)arg1; 49 | - (long long)nameCompare:(id)arg1; 50 | - (long long)identifierCompare:(id)arg1; 51 | - (id)subSpecifications; 52 | - (BOOL)isKindOfSpecification:(id)arg1; 53 | @property(readonly) DVTSourceSpecification *superSpecification; // @synthesize superSpecification=_superSpecification; 54 | - (BOOL)isMissingSpecificationProxy; 55 | - (id)initAsMissingSpecificationProxyWithIdentifier:(id)arg1 name:(id)arg2 description:(id)arg3; 56 | - (id)initWithPropertyListDictionary:(id)arg1; 57 | 58 | @end 59 | 60 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextAnnotationTheme.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSColor, NSGradient; 10 | 11 | @interface DVTTextAnnotationTheme : NSObject 12 | { 13 | NSColor *_borderTopColor; 14 | NSColor *_borderBottomColor; 15 | NSColor *_highlightColor; 16 | NSGradient *_overlayGradient; 17 | NSGradient *_overlayTintedGradient; 18 | NSColor *_messageBubbleBorderColor; 19 | NSGradient *_messageBubbleGradient; 20 | NSColor *_caretColor; 21 | NSColor *_highlightedRangeBorderColor; 22 | NSColor *_textColor; 23 | } 24 | 25 | + (id)defaultOverlayTintedGlassGradient; 26 | + (id)defaultOverlayGlassGradient; 27 | + (id)diffTextAnnotationThemeSelected:(BOOL)arg1 conflict:(BOOL)arg2 disabled:(BOOL)arg3 focused:(BOOL)arg4 inactive:(BOOL)arg5; 28 | + (id)grayGlassTextAnnotationThemeForVariant:(int)arg1; 29 | + (id)blueGlassTextAnnotationThemeForVariant:(int)arg1; 30 | + (id)greenGlassTextAnnotationThemeForVariant:(int)arg1; 31 | + (id)redGlassTextAnnotationThemeForVariant:(int)arg1; 32 | + (id)yellowGlassTextAnnotationThemeForVariant:(int)arg1; 33 | + (id)defaultTheme; 34 | + (id)_caretColor; 35 | + (BOOL)_hasDarkBackround; 36 | + (double)diffTextAnnotationAlphaAdjustmentForDarkTheme:(BOOL)arg1; 37 | + (void)initialize; 38 | @property(readonly) NSColor *textColor; // @synthesize textColor=_textColor; 39 | @property(readonly) NSColor *highlightedRangeBorderColor; // @synthesize highlightedRangeBorderColor=_highlightedRangeBorderColor; 40 | @property(readonly) NSColor *caretColor; // @synthesize caretColor=_caretColor; 41 | @property(readonly) NSColor *messageBubbleBorderColor; // @synthesize messageBubbleBorderColor=_messageBubbleBorderColor; 42 | @property(readonly) NSGradient *messageBubbleGradient; // @synthesize messageBubbleGradient=_messageBubbleGradient; 43 | @property(readonly) NSGradient *overlayTintedGradient; // @synthesize overlayTintedGradient=_overlayTintedGradient; 44 | @property(readonly) NSGradient *overlayGradient; // @synthesize overlayGradient=_overlayGradient; 45 | @property(readonly) NSColor *highlightColor; // @synthesize highlightColor=_highlightColor; 46 | @property(readonly) NSColor *borderBottomColor; // @synthesize borderBottomColor=_borderBottomColor; 47 | @property(readonly) NSColor *borderTopColor; // @synthesize borderTopColor=_borderTopColor; 48 | //- (void).cxx_destruct; 49 | @property(readonly) NSColor *messageBubbleFillColor; 50 | - (id)_calculateTextColor; 51 | - (id)initWithHighlightColor:(id)arg1 messageBubbleColor:(id)arg2 caretColor:(id)arg3; 52 | - (id)initWithHighlightColor:(id)arg1 borderTopColor:(id)arg2 borderBottomColor:(id)arg3 overlayGradient:(id)arg4 overlayTintedGradient:(id)arg5 messageBubbleBorderColor:(id)arg6 messageBubbleGradient:(id)arg7 caretColor:(id)arg8 highlightedRangeBorderColor:(id)arg9; 53 | 54 | @end 55 | 56 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextCompletionController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTCompletingTextView, DVTTextCompletionSession, NSString; 10 | 11 | @interface DVTTextCompletionController : NSObject 12 | { 13 | DVTCompletingTextView *_textView; 14 | DVTTextCompletionSession *_currentSession; 15 | NSString *_lastDismissingTextViewAction; 16 | NSString *_lastDismissingAppAction; 17 | //id _appActionsMonitor; 18 | id _eventMonitor; 19 | BOOL _autoCompletionEnabled; 20 | BOOL _sessionInProgress; 21 | BOOL _registeredScrollListener; 22 | } 23 | 24 | + (id)performanceLogAspect; 25 | + (id)completionUILogAspect; 26 | @property(retain) DVTTextCompletionSession *currentSession; // @synthesize currentSession=_currentSession; 27 | @property(readonly) BOOL sessionInProgress; // @synthesize sessionInProgress=_sessionInProgress; 28 | @property(getter=isAutoCompletionEnabled) BOOL autoCompletionEnabled; // @synthesize autoCompletionEnabled=_autoCompletionEnabled; 29 | @property(readonly) DVTCompletingTextView *textView; // @synthesize textView=_textView; 30 | //- (void).cxx_destruct; 31 | - (id)debugStateString; 32 | - (BOOL)showInfoPanelForSelectedCompletion; 33 | - (id)attributesForCompletionAtCharacterIndex:(unsigned long long)arg1 effectiveRange:(struct _NSRange *)arg2; 34 | - (BOOL)_textViewShouldInsertTab; 35 | - (BOOL)_textViewShouldHandleCancel; 36 | - (BOOL)_textViewShouldHandleComplete; 37 | - (BOOL)_textViewShouldHandlePreviousCompletion; 38 | - (BOOL)_textViewShouldHandleNextCompletion; 39 | - (void)_applicationWillDispatchAction:(SEL)arg1; 40 | - (BOOL)textViewShouldSetMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2; 41 | - (BOOL)textViewShouldChangeTextInRange:(struct _NSRange)arg1 replacementString:(id)arg2; 42 | - (BOOL)textViewShouldPerformAction:(SEL)arg1; 43 | - (void)_textViewDidScroll:(id)arg1; 44 | - (void)_textViewWillUndoRedo:(id)arg1; 45 | - (void)textViewDidInsertText; 46 | - (BOOL)textViewShouldInsertText:(id)arg1; 47 | - (void)_textViewTextDidChange:(id)arg1; 48 | - (void)textViewSelectionChanging; 49 | - (void)_dismissAndInvalidateCurrentSession; 50 | - (void)_hideCompletionsWithoutInvalidatingWithReason:(int)arg1; 51 | - (void)hideCompletions; 52 | - (BOOL)acceptCurrentCompletion; 53 | - (BOOL)_showCompletionsAtCursorLocationExplicitly:(BOOL)arg1; 54 | - (BOOL)showCompletionsAtCursorLocation; 55 | - (void)setSessionInProgress:(BOOL)arg1; 56 | @property(readonly, getter=isShowingCompletions) BOOL showingCompletions; 57 | - (void)dealloc; 58 | - (id)initWithTextView:(id)arg1; 59 | - (id)init; 60 | 61 | @end 62 | 63 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextCompletionDataSource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTMapTable, DVTSourceCodeLanguage, DVTWeakInterposer, NSArray, NSMutableArray, NSMutableSet, NSOperationQueue; 10 | 11 | @interface DVTTextCompletionDataSource : NSObject 12 | { 13 | DVTSourceCodeLanguage *_language; 14 | DVTWeakInterposer *_delegate_dvtWeakInterposer; 15 | NSMutableArray *_strategies; 16 | NSMutableSet *_strategyObservers; 17 | NSOperationQueue *_completionsGeneratorQueue; 18 | DVTMapTable *_lastGeneratedCompletionItemsPerStrategy; 19 | } 20 | 21 | @property(retain, nonatomic) DVTSourceCodeLanguage *language; // @synthesize language=_language; 22 | //- (void).cxx_destruct; 23 | @property(readonly) NSArray *strategies; 24 | - (id)bestMatchForPrefix:(id)arg1 withContext:(id)arg2; 25 | - (void)generateCompletionsForDocumentLocation:(id)arg1 context:(id)arg2 completionBlock:(id)arg3; 26 | - (id)initWithLanguage:(id)arg1; 27 | - (id)init; 28 | //@property __weak id delegate; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextCompletionInlinePreviewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTMapTable, DVTObservingToken, DVTTextCompletionSession, DVTWeakInterposer, NSString; 10 | 11 | @interface DVTTextCompletionInlinePreviewController : NSObject 12 | { 13 | DVTTextCompletionSession *_session; 14 | DVTObservingToken *_sessionSelectionObserver; 15 | DVTWeakInterposer *_previousSelectedItem_dvtWeakInterposer; 16 | DVTMapTable *_previewTextPerItem; 17 | NSString *_replacedUserPrefix; 18 | struct _NSRange _previewRange; 19 | struct _NSRange _ghostComplementRange; 20 | int _hideReason; 21 | BOOL _adjustingPreviewText; 22 | BOOL _adjustingPreviewCursorLocation; 23 | BOOL _invalidatingTextDisplay; 24 | } 25 | 26 | @property(readonly) BOOL invalidatingTextDisplay; // @synthesize invalidatingTextDisplay=_invalidatingTextDisplay; 27 | @property(readonly) BOOL adjustingPreviewCursorLocation; // @synthesize adjustingPreviewCursorLocation=_adjustingPreviewCursorLocation; 28 | @property(readonly) BOOL adjustingPreviewText; // @synthesize adjustingPreviewText=_adjustingPreviewText; 29 | @property(readonly) struct _NSRange ghostComplementRange; // @synthesize ghostComplementRange=_ghostComplementRange; 30 | @property(readonly) struct _NSRange previewRange; // @synthesize previewRange=_previewRange; 31 | @property(nonatomic) int hideReason; // @synthesize hideReason=_hideReason; 32 | //- (void).cxx_destruct; 33 | @property(readonly) NSString *debugStateString; 34 | - (id)_previewTextForItem:(id)arg1; 35 | - (void)_showPreviewForItem:(id)arg1; 36 | - (void)_textStorageWillEdit:(id)arg1; 37 | - (BOOL)handleDeleteBackward; 38 | - (BOOL)handleTextViewShouldSetMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2; 39 | - (BOOL)handleTextViewShouldChangeTextInRange:(struct _NSRange)arg1 replacementString:(id)arg2; 40 | - (BOOL)handleInsertText:(id)arg1; 41 | - (BOOL)handledAcceptPartialCompletion:(id)arg1; 42 | - (void)hideInlinePreviewWithReason:(int)arg1; 43 | - (void)showInlinePreview; 44 | - (void)dealloc; 45 | - (id)initWithSession:(id)arg1; 46 | @property(readonly, getter=isShowingInlinePreview) BOOL showingInlinePreview; 47 | //@property __weak id previousSelectedItem; 48 | 49 | @end 50 | 51 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextCompletionStrategy.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @interface DVTTextCompletionStrategy : NSObject 10 | { 11 | } 12 | 13 | + (id)priorityComparator; 14 | - (id)bestMatchForPrefix:(id)arg1 inCompletionItems:(id)arg2 withContext:(id)arg3; 15 | - (id)additionalCompletionItemsForDocumentLocation:(id)arg1 context:(id)arg2; 16 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 highlyLikelyCompletionItems:(id *)arg3 areDefinitive:(char *)arg4; 17 | - (void)prepareForDocumentLocation:(id)arg1 context:(id)arg2; 18 | 19 | @end 20 | 21 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextDocumentLocation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTDocumentLocation.h" 8 | 9 | @interface DVTTextDocumentLocation : DVTDocumentLocation 10 | { 11 | long long _startingColumnNumber; 12 | long long _endingColumnNumber; 13 | long long _startingLineNumber; 14 | long long _endingLineNumber; 15 | struct _NSRange _characterRange; 16 | long long _locationEncoding; 17 | } 18 | 19 | @property(readonly) long long locationEncoding; // @synthesize locationEncoding=_locationEncoding; 20 | @property(readonly) struct _NSRange characterRange; // @synthesize characterRange=_characterRange; 21 | @property(readonly) long long endingLineNumber; // @synthesize endingLineNumber=_endingLineNumber; 22 | @property(readonly) long long startingLineNumber; // @synthesize startingLineNumber=_startingLineNumber; 23 | @property(readonly) long long endingColumnNumber; // @synthesize endingColumnNumber=_endingColumnNumber; 24 | @property(readonly) long long startingColumnNumber; // @synthesize startingColumnNumber=_startingColumnNumber; 25 | - (id)dvt_persistableStringRepresentation; 26 | - (id)dvt_initFromPersistableStringRepresentation:(id)arg1 error:(id *)arg2; 27 | - (id)copyWithURL:(id)arg1; 28 | - (long long)compare:(id)arg1; 29 | - (BOOL)isEqualDisregardingTimestamp:(id)arg1; 30 | - (BOOL)isEqualToDocumentLocationDisregardingDocumentURL:(id)arg1; 31 | - (BOOL)isEqual:(id)arg1; 32 | @property(readonly) struct _NSRange lineRange; 33 | - (id)description; 34 | - (void)dvt_writeToSerializer:(id)arg1; 35 | - (id)dvt_initFromDeserializer:(id)arg1; 36 | - (void)encodeWithCoder:(id)arg1; 37 | - (id)initWithCoder:(id)arg1; 38 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2 characterRange:(struct _NSRange)arg3; 39 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2 characterRange:(struct _NSRange)arg3 locationEncoding:(long long)arg4; 40 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2 lineRange:(struct _NSRange)arg3; 41 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2 startingColumnNumber:(long long)arg3 endingColumnNumber:(long long)arg4 startingLineNumber:(long long)arg5 endingLineNumber:(long long)arg6 characterRange:(struct _NSRange)arg7; 42 | - (id)initWithDocumentURL:(id)arg1 timestamp:(id)arg2 startingColumnNumber:(long long)arg3 endingColumnNumber:(long long)arg4 startingLineNumber:(long long)arg5 endingLineNumber:(long long)arg6 characterRange:(struct _NSRange)arg7 locationEncoding:(long long)arg8; 43 | 44 | @end 45 | 46 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTTextView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | #import 9 | 10 | @interface DVTTextView : NSTextView 11 | { 12 | BOOL _settingMinSizeForClipView; 13 | BOOL _minWidthTracksClipView; 14 | BOOL _minHeightTracksClipView; 15 | } 16 | 17 | @property BOOL minHeightTracksClipView; // @synthesize minHeightTracksClipView=_minHeightTracksClipView; 18 | @property BOOL minWidthTracksClipView; // @synthesize minWidthTracksClipView=_minWidthTracksClipView; 19 | - (void)setMinSize:(struct CGSize)arg1; 20 | - (void)_superviewClipViewFrameChanged:(id)arg1; 21 | - (id)initWithCoder:(id)arg1; 22 | - (id)initWithFrame:(struct CGRect)arg1 textContainer:(id)arg2; 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/DVTViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import "NSViewController.h" 8 | 9 | //#import "DVTControllerContentViewViewControllerAdditions-Protocol.h" 10 | //#import "DVTEditor-Protocol.h" 11 | //#import "DVTInvalidation-Protocol.h" 12 | 13 | #import 14 | #import "DVTControllerContentView.h" 15 | 16 | @class DVTControllerContentView, DVTExtension, DVTStackBacktrace, NSString; 17 | 18 | @interface DVTViewController : NSViewController /**/ 19 | { 20 | BOOL _didCallViewWillUninstall; 21 | void *_keepSelfAliveUntilCancellationRef; 22 | BOOL _isViewLoaded; 23 | DVTExtension *_representedExtension; 24 | } 25 | 26 | + (id)defaultViewNibBundle; 27 | + (id)defaultViewNibName; 28 | + (void)initialize; 29 | @property(retain, nonatomic) DVTExtension *representedExtension; // @synthesize representedExtension=_representedExtension; 30 | @property BOOL isViewLoaded; // @synthesize isViewLoaded=_isViewLoaded; 31 | //- (void).cxx_destruct; 32 | - (void)primitiveInvalidate; 33 | - (void)invalidate; 34 | - (BOOL)commitEditingForAction:(int)arg1 errors:(id)arg2; 35 | - (void)_willUninstallContentView:(id)arg1; 36 | - (void)_didInstallContentView:(id)arg1; 37 | - (void)viewWillUninstall; 38 | - (void)viewDidInstall; 39 | - (void)loadView; 40 | @property(retain) DVTControllerContentView *view; 41 | - (void)separateKeyViewLoops; 42 | - (BOOL)delegateFirstResponder; 43 | - (id)supplementalMainViewController; 44 | @property(readonly, copy) NSString *description; 45 | - (BOOL)becomeFirstResponder; 46 | - (id)initWithCoder:(id)arg1; 47 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2; 48 | - (id)initUsingDefaultNib; 49 | - (void)dvtViewController_commonInit; 50 | @property(readonly) BOOL canBecomeMainViewController; 51 | 52 | // Remaining properties 53 | @property(retain) DVTStackBacktrace *creationBacktrace; 54 | @property(readonly, copy) NSString *debugDescription; 55 | @property(readonly) unsigned long long hash; 56 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 57 | @property(readonly) Class superclass; 58 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 59 | 60 | @end 61 | 62 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEAnnotationContext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTAnnotationContext.h" 8 | 9 | @class IDEEditor, IDEWorkspace, IDEWorkspaceTabController, NSDocument; 10 | 11 | @interface IDEAnnotationContext : DVTAnnotationContext 12 | { 13 | IDEEditor *_editor; 14 | NSDocument *_document; 15 | IDEWorkspaceTabController *_workspaceTabController; 16 | } 17 | 18 | @property(retain) IDEWorkspaceTabController *workspaceTabController; // @synthesize workspaceTabController=_workspaceTabController; 19 | @property(retain) NSDocument *document; // @synthesize document=_document; 20 | @property(retain) IDEEditor *editor; // @synthesize editor=_editor; 21 | //- (void).cxx_destruct; 22 | - (id)description; 23 | @property(readonly) IDEWorkspace *workspace; 24 | - (id)initWithEditor:(id)arg1 document:(id)arg2 fileDataType:(id)arg3 workspaceTabController:(id)arg4; 25 | - (id)initWithFileDataType:(id)arg1; 26 | 27 | @end 28 | 29 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEBuildIssueAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTMessageBubbleAnnotation.h" 8 | 9 | @interface IDEBuildIssueAnnotation : DVTMessageBubbleAnnotation 10 | { 11 | } 12 | 13 | + (unsigned long long)scrollbarMarkerType; 14 | + (id)editedTheme; 15 | + (id)focusedTheme; 16 | + (id)normalTheme; 17 | + (id)sidebarIcon; 18 | + (unsigned long long)severity; 19 | + (double)precedence; 20 | - (id)init; 21 | - (id)annotationDisplayDescription; 22 | - (id)annotationDisplayName; 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEBuildIssueProvider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIssueProvider.h" 8 | 9 | @class DVTMapTable, DVTObservingToken, IDEBuildOperation, IDELogStore, NSMutableArray, NSMutableSet; 10 | 11 | @interface IDEBuildIssueProvider : IDEIssueProvider 12 | { 13 | DVTMapTable *_blueprintToLatestLogSectionObserverMap; 14 | DVTMapTable *_buildLogToLogNotificationObserverMap; 15 | DVTMapTable *_blueprintToLatestBuildLogSectionMap; 16 | DVTMapTable *_blueprintToLogRecordsMap; 17 | DVTMapTable *_blueprintToIssuesForFileMap; 18 | DVTMapTable *_blueprintToAuxiliaryFilesForFileMap; 19 | DVTMapTable *_haveRemovedIssuesForFileInBlueprintMap; 20 | DVTObservingToken *_activeBuildOperationStateObserverToken; 21 | IDEBuildOperation *_activeBuildOperation; 22 | NSMutableSet *_pendingLogSections; 23 | IDELogStore *_logStore; 24 | BOOL _changeNotificationPending; 25 | NSMutableArray *_pendingChanges; 26 | } 27 | 28 | + (int)providerType; 29 | + (id)_backgroundScanningQueue; 30 | + (id)_backgroundLoadingQueue; 31 | //- (void).cxx_destruct; 32 | - (id)ideModelObjectTypeIdentifier; 33 | - (id)displayNameForIssueTypeIdentifier:(id)arg1; 34 | - (void)_buildLogDidUpdateItems:(id)arg1 blueprint:(id)arg2; 35 | - (void)_scanIssuesInLog:(id)arg1 forBlueprint:(id)arg2 intoArray:(id)arg3 usingSeenMessages:(id)arg4 withFileToIssuesMap:(id)arg5 fileToAuxFilesMap:(id)arg6; 36 | - (void)_addIssueForMessage:(id)arg1 blueprint:(id)arg2 intoArray:(id)arg3 usingSeenMessages:(id)arg4 withFileToIssuesMap:(id)arg5 fileToAuxFilesMap:(id)arg6 wasFetchedFromCache:(BOOL)arg7; 37 | - (void)startProviderSession; 38 | - (void)_postBuildIssueChange:(id)arg1; 39 | - (void)_asyncPostBuildIssueChanges:(id)arg1; 40 | - (void)_observeLogSection:(id)arg1 forBlueprint:(id)arg2 loadedFromLogStore:(BOOL)arg3; 41 | - (void)_currentBuildOperationDidChange; 42 | - (void)_blueprintsDidChange; 43 | - (void)_reactToCleanBuildFolder; 44 | - (void)_forgetBlueprint:(id)arg1; 45 | - (void)_latestBuildLogDidChange; 46 | - (void)_workspaceFinishedLoading; 47 | - (void)primitiveInvalidate; 48 | - (id)initWithIssueManager:(id)arg1 extension:(id)arg2; 49 | - (BOOL)allowsExistingIssuesToBeCoalesced; 50 | - (void)removeBlueprintFromIssuesCache:(id)arg1; 51 | - (BOOL)shouldRemoveIssuesFromCacheForFile:(id)arg1 inBlueprint:(id)arg2; 52 | - (id)removeIssuesFromCacheForFile:(id)arg1 inBlueprint:(id)arg2; 53 | - (void)addAuxiliaryFiles:(id)arg1 toCacheForFile:(id)arg2 inBlueprint:(id)arg3; 54 | - (void)addIssues:(id)arg1 toCacheForFile:(id)arg2 inBlueprint:(id)arg3; 55 | - (id)latestLogRecordForBlueprint:(id)arg1; 56 | - (void)removeAllLogRecordsForBlueprint:(id)arg1; 57 | - (void)addLogRecord:(id)arg1 forBlueprint:(id)arg2; 58 | - (id)logRecordsForBlueprint:(id)arg1; 59 | 60 | @end 61 | 62 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEBuildIssueStaticAnalyzerWarningAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEBuildIssueAnnotation.h" 8 | 9 | @interface IDEBuildIssueStaticAnalyzerWarningAnnotation : IDEBuildIssueAnnotation 10 | { 11 | } 12 | 13 | + (unsigned long long)scrollbarMarkerType; 14 | + (id)editedTheme; 15 | + (id)focusedTheme; 16 | + (id)normalTheme; 17 | + (id)sidebarIcon; 18 | + (double)precedence; 19 | - (id)annotationDisplayName; 20 | 21 | @end 22 | 23 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEBuildIssueWarningAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEBuildIssueAnnotation.h" 8 | 9 | @interface IDEBuildIssueWarningAnnotation : IDEBuildIssueAnnotation 10 | { 11 | } 12 | 13 | + (unsigned long long)scrollbarMarkerType; 14 | + (id)editedTheme; 15 | + (id)focusedTheme; 16 | + (id)normalTheme; 17 | + (id)sidebarIcon; 18 | + (unsigned long long)severity; 19 | + (double)precedence; 20 | - (id)annotationDisplayName; 21 | 22 | @end 23 | 24 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEConsoleAdaptor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSFileHandle, NSMutableArray, NSMutableData, NSObject/**/, NSString, NSTimer; 10 | 11 | @protocol IDEConsoleAdaptorDelegateProtocol 12 | 13 | @optional 14 | - (id)parseConsoleOutputFromOriginalOutput:(id)arg1; 15 | - (id)parseConsoleInputFromOriginalInput:(id)arg1; 16 | @end 17 | 18 | 19 | @interface IDEConsoleAdaptor : NSObject 20 | { 21 | NSString *_type; 22 | NSObject *_writeSerialQueue; 23 | NSTimer *_endOfStandardOutputReadTimer; 24 | NSTimer *_endOfStandardErrorReadTimer; 25 | BOOL _finishedReceivingData; 26 | BOOL _ignoreFutureOutput; 27 | NSFileHandle *_standardInput; 28 | NSFileHandle *_standardOutput; 29 | NSFileHandle *_standardError; 30 | NSMutableData *_currentOutputOverflow; 31 | NSMutableData *_currentErrorOverflow; 32 | NSTimer *_targetOutputOverflowTimer; 33 | id _delegate; 34 | unsigned long long _currNumStoredChars; 35 | struct __CFDictionary *_completeContent; 36 | struct __CFArray *_completeContentSequences; 37 | struct __CFArray *_standardInputSequences; 38 | struct __CFArray *_standardOutputSequences; 39 | struct __CFArray *_standardErrorSequences; 40 | NSMutableArray *_fileReadTokenArray; 41 | } 42 | 43 | + (id)standardErrorItemsForAdaptors:(id)arg1; 44 | + (id)standardOutputItemsForAdaptors:(id)arg1; 45 | + (id)standardInputItemsForAdaptors:(id)arg1; 46 | + (id)allConsoleItemsForAdaptors:(id)arg1; 47 | + (id)_itemsForAdaptors:(id)arg1 sequencesSelector:(SEL)arg2; 48 | + (unsigned long long)_nextContentSequence; 49 | + (void)initialize; 50 | @property(readonly) struct __CFArray *standardErrorSequences; // @synthesize standardErrorSequences=_standardErrorSequences; 51 | @property(readonly) struct __CFArray *standardOutputSequences; // @synthesize standardOutputSequences=_standardOutputSequences; 52 | @property(readonly) struct __CFArray *standardInputSequences; // @synthesize standardInputSequences=_standardInputSequences; 53 | @property(readonly) struct __CFArray *completeContentSequences; // @synthesize completeContentSequences=_completeContentSequences; 54 | @property(readonly) struct __CFDictionary *completeContent; // @synthesize completeContent=_completeContent; 55 | @property(retain) id delegate; // @synthesize delegate=_delegate; 56 | @property BOOL ignoreFutureOutput; // @synthesize ignoreFutureOutput=_ignoreFutureOutput; 57 | @property BOOL finishedReceivingData; // @synthesize finishedReceivingData=_finishedReceivingData; 58 | @property(readonly) NSString *type; // @synthesize type=_type; 59 | //- (void).cxx_destruct; 60 | - (id)standardErrorItems; 61 | - (id)standardOutputItems; 62 | - (id)standardInputItems; 63 | - (id)allConsoleItems; 64 | - (id)_itemsForSequences:(struct __CFArray *)arg1; 65 | - (void)_setStandardError:(id)arg1; 66 | - (void)_setStandardOutput:(id)arg1; 67 | - (void)_addObserverToReadCompletion:(id)arg1 selector:(SEL)arg2; 68 | - (void)_getError:(id)arg1; 69 | - (void)_getOutput:(id)arg1; 70 | - (void)_timerFiredToCheckEndOfRead:(id)arg1; 71 | - (void)_fileHandleCompletedRead:(id)arg1; 72 | - (id)_getData:(id)arg1 overflowBuffer:(id *)arg2; 73 | - (void)_timerFiredForTargetOutputOverflow:(id)arg1; 74 | - (void)_setStandardInput:(id)arg1; 75 | - (void)outputForStandardError:(id)arg1; 76 | - (void)outputForStandardOutput:(id)arg1; 77 | - (void)outputForStandardOutput:(id)arg1 isPrompt:(BOOL)arg2 isOutputRequestedByUser:(BOOL)arg3; 78 | - (void)_postOnMainThreadForNotification:(id)arg1 consoleItem:(id)arg2; 79 | - (void)inputForStandardInput:(id)arg1; 80 | - (void)inputFromConsole:(id)arg1 echo:(BOOL)arg2; 81 | - (void)makeExpired; 82 | - (void)_makeExpired; 83 | - (void)_addToCompleteContent:(id)arg1 andSupportingSequences:(struct __CFArray *)arg2; 84 | - (BOOL)_removeSequence:(unsigned long long)arg1 fromSupportingSequences:(struct __CFArray *)arg2; 85 | - (id)description; 86 | - (void)dealloc; 87 | - (id)initWithType:(id)arg1 standardInput:(id)arg2 standardOutput:(id)arg3 standardError:(id)arg4; 88 | 89 | @end 90 | 91 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEDataValue-Protocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import "NSObject-Protocol.h" 8 | #import 9 | @class NSArray, NSString; 10 | 11 | 12 | @protocol IDEDataValue 13 | @property(readonly) BOOL isMemoryFault; 14 | @property(readonly) BOOL childValuesCountValid; 15 | @property(readonly, copy) NSArray *childValues; 16 | @property(readonly) BOOL hasChildValues; 17 | @property(readonly) BOOL inScope; 18 | @property(readonly) BOOL itemDescriptionHasChanged; 19 | @property(readonly, copy) NSString *itemDescription; 20 | @property(readonly) BOOL typeHasChanged; 21 | @property(readonly, copy) NSString *type; 22 | @property(readonly, copy) NSString *primitiveLogicalValue; 23 | @property(readonly) BOOL logicalValueHasChanged; 24 | @property(readonly, copy) NSString *logicalValue; 25 | @property(readonly) BOOL valueHasChanged; 26 | @property(readonly) BOOL isValueEditable; 27 | @property(copy) NSString *value; 28 | @property(readonly, copy) NSString *name; 29 | @end 30 | 31 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTFindBar, DVTNotificationToken, DVTObservingToken, DVTScopeBarsManager, IDEEditorContext, IDEEditorDocument, IDEFileTextSettings, NSScrollView; 10 | 11 | @interface IDEEditor : NSObject 12 | { 13 | IDEEditorDocument *_document; 14 | IDEEditorDocument *_documentForNavBarStructure; 15 | IDEEditorContext *_editorContext; 16 | DVTFindBar *_findBar; 17 | //id _findableObject; 18 | DVTNotificationToken *_documentDidChangeNotificationToken; 19 | DVTNotificationToken *_documentForNavBarStructureDidChangeNotificationToken; 20 | DVTObservingToken *_documentFileURLObservingToken; 21 | IDEFileTextSettings *_fileTextSettings; 22 | //id _delegate; 23 | BOOL _discardsFindResultsWhenContentChanges; 24 | } 25 | 26 | + (BOOL)canProvideCurrentSelectedItems; 27 | //@property(retain) id delegate; // @synthesize delegate=_delegate; 28 | @property(retain, nonatomic) IDEFileTextSettings *fileTextSettings; // @synthesize fileTextSettings=_fileTextSettings; 29 | //@property(retain, nonatomic) id findableObject; // @synthesize findableObject=_findableObject; 30 | @property(retain) IDEEditorContext *editorContext; // @synthesize editorContext=_editorContext; 31 | @property(retain) IDEEditorDocument *document; // @synthesize document=_document; 32 | @property(retain, nonatomic) IDEEditorDocument *documentForNavBarStructure; // @synthesize documentForNavBarStructure=_documentForNavBarStructure; 33 | @property BOOL discardsFindResultsWhenContentChanges; // @synthesize discardsFindResultsWhenContentChanges=_discardsFindResultsWhenContentChanges; 34 | //- (void).cxx_destruct; 35 | - (id)relatedMenuItemsForNavItem:(id)arg1; 36 | - (void)didSetupEditor; 37 | - (void)navigateToAnnotationWithRepresentedObject:(id)arg1 wantsIndicatorAnimation:(BOOL)arg2 exploreAnnotationRepresentedObject:(id)arg3; 38 | - (void)selectDocumentLocations:(id)arg1; 39 | - (id)currentSelectedDocumentLocations; 40 | - (id)currentSelectedItems; 41 | - (void)primitiveInvalidate; 42 | - (id)supplementalTargetForAction:(SEL)arg1 sender:(id)arg2; 43 | @property(readonly) NSScrollView *mainScrollView; 44 | @property(readonly) DVTScopeBarsManager *scopeBarsManager; 45 | @property(readonly, getter=isPrimaryEditor) BOOL primaryEditor; 46 | - (void)setupContextMenuWithMenu:(id)arg1 withContext:(id)arg2; 47 | - (void)takeFocus; 48 | @property(readonly) DVTFindBar *findBar; // @synthesize findBar=_findBar; 49 | - (void)editorContextDidHideFindBar; 50 | - (id)createFindBar; 51 | @property(readonly) BOOL findBarSupported; 52 | - (id)_getUndoManager:(BOOL)arg1; 53 | - (id)undoManager; 54 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2 document:(id)arg3; 55 | - (id)_initWithNibName:(id)arg1 bundle:(id)arg2; 56 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2; 57 | - (id)initUsingDefaultNib; 58 | 59 | @end 60 | 61 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEFileNavigableItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDENavigableItem.h" 8 | 9 | @class DVTFileDataType, DVTObservingToken, DVTWeakInterposer, NSImage, NSURL; 10 | 11 | @interface IDEFileNavigableItem : IDENavigableItem 12 | { 13 | DVTWeakInterposer *_document_dvtWeakInterposer; 14 | NSImage *_image; 15 | DVTObservingToken *_documentObservingToken; 16 | BOOL _invalidatingTopLevelObjects; 17 | } 18 | 19 | //- (void).cxx_destruct; 20 | - (id)textColor; 21 | - (unsigned long long)indexOfChildItemForIdentifier:(id)arg1; 22 | - (id)identifierForChildItem:(id)arg1; 23 | - (id)childRepresentedObjects; 24 | - (BOOL)isLeaf; 25 | - (BOOL)isMajorGroup; 26 | - (BOOL)isDocumentNavigableItem; 27 | - (id)structureProvidingEditorDocument; 28 | - (id)_editorDocument; 29 | - (void)_updateEditorDocument:(id)arg1; 30 | - (void)invalidateChildItems; 31 | - (void)_documentDidClose; 32 | - (void)primitiveInvalidate; 33 | - (id)contentDocumentLocation; 34 | @property(readonly) long long progress; 35 | @property(readonly) DVTFileDataType *documentType; 36 | @property(readonly) NSURL *fileURL; 37 | - (id)image; 38 | - (void)invalidateImage; 39 | - (void)updateImage; 40 | - (id)newImage; 41 | - (void)setDocument:(id)arg1; 42 | - (id)document; 43 | 44 | @end 45 | 46 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEFileReferenceNavigableItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEFileNavigableItem.h" 8 | 9 | @class DVTFileDataType, NSColor, NSString, NSURL; 10 | 11 | @interface IDEFileReferenceNavigableItem : IDEFileNavigableItem 12 | { 13 | NSURL *_fileURL; 14 | DVTFileDataType *_fileDataType; 15 | NSString *_name; 16 | NSString *_scmCurrentRevision; 17 | NSString *_scmLocalStatus; 18 | NSString *_scmServerStatus; 19 | struct { 20 | unsigned int _needUpdateForFileURL:1; 21 | unsigned int _reserved:31; 22 | } _ideFileRefNavItemflags; 23 | } 24 | 25 | + (id)keyPathsForValuesAffectingToolTip; 26 | + (id)keyPathsForValuesAffectingFileReference; 27 | + (id)_createExtraInfoObject; 28 | + (void)_editorDocumentDirtyStatusDidChange:(id)arg1; 29 | + (void)_anyEditorDocumentDirtyStatusWillClose:(id)arg1; 30 | + (void)_anyEditorDocumentDirtyStatusDidChange:(id)arg1; 31 | + (void)initialize; 32 | //- (void).cxx_destruct; 33 | - (unsigned long long)conflictStateForUpdateOrMerge; 34 | - (id)sourceControlCurrentRevision; 35 | - (id)sourceControlServerStatus; 36 | - (int)sourceControlServerStatusFlag; 37 | - (id)sourceControlLocalStatus; 38 | - (int)sourceControlLocalStatusFlag; 39 | - (id)toolTip; 40 | @property(readonly) NSColor *textColor; 41 | - (id)newImage; 42 | - (id)name; 43 | - (id)documentType; 44 | - (id)fileURL; 45 | - (id)contentDocumentLocation; 46 | - (void)updateChildRepresentedObjects; 47 | - (void)updateAttributes; 48 | - (id)fileReference; 49 | - (id)initWithRepresentedObject:(id)arg1; 50 | 51 | @end 52 | 53 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEFrameworkFilePath.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "IDEKeyDrivenNavigableItemRepresentedObject-Protocol.h" 10 | 11 | @class DVTDocumentLocation, DVTFileDataType, DVTFilePath, DVTSDK, IDEFileReference, IDETypeIdentifier, NSArray, NSImage, NSMutableArray, NSString; 12 | 13 | @interface IDEFrameworkFilePath : NSObject /**/ 14 | { 15 | DVTFilePath *_filePath; 16 | NSString *_name; 17 | NSMutableArray *_childPathComponents; 18 | DVTSDK *_SDK; 19 | unsigned long long _frameworkFilePathType; 20 | } 21 | 22 | + (id)structureNavigableItemForFrameworkURL:(id)arg1 inCoordinator:(id)arg2 inWorkspace:(id)arg3 error:(id *)arg4; 23 | + (id)_rootFrameworksFilePath; 24 | + (void)_recalclulateAllSDKFrameworksFilePaths; 25 | + (id)_allSDKFrameworksFilePaths; 26 | + (void)_setAllSDKFrameworksFilePaths:(id)arg1; 27 | + (BOOL)isFrameworkURL:(id)arg1; 28 | + (id)keyPathsForValuesAffectingNavigableItem_documentType; 29 | @property(readonly) unsigned long long frameworkFilePathType; // @synthesize frameworkFilePathType=_frameworkFilePathType; 30 | @property(retain) DVTSDK *SDK; // @synthesize SDK=_SDK; 31 | @property(copy, nonatomic) NSArray *childPathComponents; // @synthesize childPathComponents=_childPathComponents; 32 | @property(readonly, copy) NSString *name; // @synthesize name=_name; 33 | @property(readonly, copy) DVTFilePath *filePath; // @synthesize filePath=_filePath; 34 | //- (void).cxx_destruct; 35 | - (BOOL)isEqual:(id)arg1; 36 | @property(readonly) unsigned long long hash; 37 | @property(readonly, copy) IDETypeIdentifier *ideModelObjectTypeIdentifier; 38 | - (id)navigableItem_conformanceString; 39 | @property(readonly, copy) NSString *description; 40 | - (id)initWithFilePath:(id)arg1 name:(id)arg2 type:(unsigned long long)arg3; 41 | - (id)init; 42 | - (id)_pathOfNamesForDescendantWithFilePath:(id)arg1; 43 | @property(readonly) DVTDocumentLocation *navigableItem_contentDocumentLocation; 44 | @property(readonly) DVTFileDataType *navigableItem_documentType; 45 | @property(readonly) NSImage *navigableItem_image; 46 | @property(readonly) NSString *navigableItem_name; 47 | 48 | // Remaining properties 49 | @property(readonly, copy) NSString *debugDescription; 50 | @property(readonly) IDEFileReference *navigableItem_fileReference; 51 | @property(readonly) NSString *navigableItem_groupIdentifier; 52 | @property(readonly) BOOL navigableItem_isLeaf; 53 | @property(readonly) BOOL navigableItem_isMajorGroup; 54 | @property(readonly) NSString *navigableItem_toolTip; 55 | @property(readonly) Class superclass; 56 | 57 | @end 58 | 59 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCallableSymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexSymbol.h" 8 | 9 | @class IDEIndexContainerSymbol; 10 | 11 | @interface IDEIndexCallableSymbol : IDEIndexSymbol 12 | { 13 | IDEIndexContainerSymbol *_containerSymbol; 14 | } 15 | 16 | //- (void).cxx_destruct; 17 | - (id)callsCancelWhen:(id)arg1; 18 | - (id)calls; 19 | - (id)typeOfArgument:(unsigned long long)arg1; 20 | - (unsigned long long)numArguments; 21 | - (id)returnType; 22 | - (id)property; 23 | - (id)overridingSymbols; 24 | - (id)overriddenSymbols; 25 | - (void)setContainerSymbol:(id)arg1; 26 | - (id)containerSymbol; 27 | 28 | @end 29 | 30 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCategorySymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexContainerSymbol.h" 8 | 9 | @interface IDEIndexCategorySymbol : IDEIndexContainerSymbol 10 | { 11 | } 12 | 13 | - (id)relatedClass; 14 | - (id)properties; 15 | - (id)instanceVariables; 16 | - (id)instanceMethods; 17 | - (id)classMethods; 18 | 19 | @end 20 | 21 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexClassSymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexContainerSymbol.h" 8 | 9 | @class IDEIndexCollection; 10 | 11 | @interface IDEIndexClassSymbol : IDEIndexContainerSymbol 12 | { 13 | IDEIndexCollection *_subClasses; 14 | } 15 | 16 | //- (void).cxx_destruct; 17 | - (id)allInterfaces; 18 | - (id)interfaces; 19 | - (id)allProtocols; 20 | - (id)protocols; 21 | - (id)allOccurrencesOfMembers:(id)arg1; 22 | - (id)allSubclasses; 23 | - (id)subclasses; 24 | - (id)allSuperclasses; 25 | - (id)superclasses; 26 | - (id)categories; 27 | - (id)ibOutletCollectionProperties; 28 | - (id)ibOutletCollectionVariables; 29 | - (id)ibOutletCollections; 30 | - (id)ibOutletProperties; 31 | - (id)ibOutletVariables; 32 | - (id)ibOutlets; 33 | - (id)ibActionMethods; 34 | - (id)properties; 35 | - (id)instanceVariables; 36 | - (id)classVariables; 37 | - (id)instanceMethods; 38 | - (id)classMethods; 39 | 40 | @end 41 | 42 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | #import 9 | 10 | //#import "NSFastEnumeration-Protocol.h" 11 | 12 | @class IDEIndexDBTempTable, NSArray; 13 | 14 | 15 | @interface IDEIndexCollection : NSObject 16 | { 17 | IDEIndexDBTempTable *_tempTable; 18 | NSArray *_instantiatedRows; 19 | Class _expectedClass; 20 | } 21 | 22 | @property(readonly, nonatomic) IDEIndexDBTempTable *tempTable; // @synthesize tempTable=_tempTable; 23 | //- (void).cxx_destruct; 24 | - (id)uniqueObjects; 25 | - (id)onlyObject; 26 | - (id)firstObject; 27 | - (id)instantiateRow:(struct sqlite3_stmt *)arg1; 28 | - (id)tempTableSchema; 29 | - (id)allObjects; 30 | //- (unsigned long long)countByEnumeratingWithState:(CDStruct_70511ce9 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3; 31 | - (unsigned long long)instantiateRowsUpto:(unsigned long long)arg1; 32 | - (void)dealloc; 33 | - (void)dropTempTable; 34 | - (id)description; 35 | - (void)setExpectedClass:(Class)arg1; 36 | - (BOOL)_checkExpectedClass:(id)arg1; 37 | - (id)initWithConnection:(id)arg1; 38 | - (id)initWithArrayNoCopy:(id)arg1; 39 | - (id)initWithArray:(id)arg1; 40 | - (id)initWithObject:(id)arg1; 41 | - (id)init; 42 | 43 | @end 44 | 45 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCompletionArray.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @interface IDEIndexCompletionArray : NSMutableArray 10 | { 11 | NSMutableArray *_array; 12 | void *_completionResults; 13 | } 14 | 15 | //- (void).cxx_destruct; 16 | - (void)replaceObjectAtIndex:(unsigned long long)arg1 withObject:(id)arg2; 17 | - (void)removeObjectAtIndex:(unsigned long long)arg1; 18 | - (void)removeLastObject; 19 | - (void)insertObject:(id)arg1 atIndex:(unsigned long long)arg2; 20 | - (void)addObject:(id)arg1; 21 | - (id)objectAtIndex:(unsigned long long)arg1; 22 | - (unsigned long long)count; 23 | - (void)dealloc; 24 | - (id)initWithCodeCompleteResults:(void *)arg1; 25 | 26 | @end 27 | 28 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCompletionItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTSourceCodeSymbolKind, NSAttributedString, NSString; 10 | 11 | @interface IDEIndexCompletionItem : NSObject 12 | { 13 | void *_completionResult; 14 | NSString *_displayText; 15 | NSString *_displayType; 16 | NSString *_completionText; 17 | NSAttributedString *_descriptionText; 18 | NSString *_parentText; 19 | DVTSourceCodeSymbolKind *_symbolKind; 20 | double _priority; 21 | NSString *_name; 22 | BOOL _notRecommended; 23 | } 24 | 25 | @property double priority; // @synthesize priority=_priority; 26 | @property(readonly) NSString *name; // @synthesize name=_name; 27 | //- (void).cxx_destruct; 28 | @property(readonly) BOOL notRecommended; 29 | @property(readonly) DVTSourceCodeSymbolKind *symbolKind; 30 | @property(readonly) NSAttributedString *descriptionText; 31 | @property(readonly, copy) NSString *parentText; 32 | @property(readonly) NSString *completionText; 33 | @property(readonly) NSString *displayType; 34 | @property(readonly) NSString *displayText; 35 | - (void)_fillInTheRest; 36 | - (id)description; 37 | - (id)initWithCompletionResult:(void *)arg1; 38 | 39 | @end 40 | 41 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexCompletionStrategy.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTTextCompletionStrategy.h" 8 | 9 | @class DVTDispatchLock, DVTMapTable, IDEIndexCodeCompletionContext, NSArray; 10 | 11 | @interface IDEIndexCompletionStrategy : DVTTextCompletionStrategy 12 | { 13 | unsigned long long _importStatementLocation; 14 | BOOL _shouldInsertIncludeStatements; 15 | IDEIndexCodeCompletionContext *_codeCompletionContext; 16 | NSArray *_knownSDKs; 17 | DVTMapTable *_optimalBuildableProductForFileCache; 18 | DVTDispatchLock *_buildableProductCachesLock; 19 | NSArray *_sourceBuildableProductProxiesCache; 20 | } 21 | 22 | //- (void).cxx_destruct; 23 | - (void)dealloc; 24 | - (unsigned long long)locationForImportStatementWithContext:(id)arg1 shouldInsertIncludeStatements:(char *)arg2; 25 | - (id)autoImportCompletionItemsForDocumentLocation:(id)arg1 fileContext:(id)arg2 completionContexts:(id)arg3; 26 | - (void)addCompletionItems:(id)arg1 forAllSymbolsOfKind:(id)arg2 matchingLanguage:(id)arg3 inIndex:(id)arg4 context:(id)arg5; 27 | - (id)cachedResultOfQueryForAllSymbolsOfKind:(id)arg1 matchingLanguage:(id)arg2 inIndex:(id)arg3; 28 | - (void)addCompletionItems:(id)arg1 forAllSymbolsOfKind:(id)arg2 inIndex:(id)arg3 context:(id)arg4; 29 | - (id)cachedResultOfQueryForAllSymbolsOfKind:(id)arg1 inIndex:(id)arg2; 30 | - (BOOL)shouldAddAutoImportable:(id)arg1 intoContext:(id)arg2; 31 | - (id)optimalBuildableProductForAutoImportable:(id)arg1 inContext:(id)arg2 headerVisibility:(unsigned long long *)arg3 alreadyLinked:(char *)arg4; 32 | - (id)buildableProductsForFilePath:(id)arg1; 33 | - (id)additionalCompletionItemsForDocumentLocation:(id)arg1 context:(id)arg2; 34 | - (id)completionItemsForDocumentLocation:(id)arg1 context:(id)arg2 highlyLikelyCompletionItems:(id *)arg3 areDefinitive:(char *)arg4; 35 | - (void)prepareForDocumentLocation:(id)arg1 context:(id)arg2; 36 | - (void)clearAllBuildableProductCaches:(id)arg1; 37 | - (void)clearCacheForFileAddedOrRemoved:(id)arg1; 38 | - (id)init; 39 | 40 | @end 41 | 42 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexContainerSymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexSymbol.h" 8 | 9 | @interface IDEIndexContainerSymbol : IDEIndexSymbol 10 | { 11 | } 12 | 13 | - (id)children; 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexDBConnection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexDBSQLStream.h" 8 | #import 9 | 10 | @class IDEIndexDatabase, NSMutableSet, NSObject/**/; 11 | 12 | @interface IDEIndexDBConnection : IDEIndexDBSQLStream 13 | { 14 | IDEIndexDatabase *_database; 15 | NSObject *_runQueue; 16 | struct sqlite3 *_dbHandle; 17 | id _cancelCallback; 18 | long long _tempTableCount; 19 | NSMutableSet *_tempTables; 20 | BOOL _closing; 21 | void *_checkpointInfo; 22 | int _inUseCount; 23 | int _collectionCount; 24 | } 25 | 26 | + (void)initialize; 27 | - (id)database; 28 | //- (void).cxx_destruct; 29 | - (void)dealloc; 30 | - (void)close; 31 | - (void)wait; 32 | - (void)reportSQLiteError:(int)arg1 function:(id)arg2 message:(const char *)arg3 info:(id)arg4; 33 | - (void)finalizeSQLiteStmt:(struct sqlite3_stmt **)arg1; 34 | - (void)runSQLiteStmt:(struct sqlite3_stmt **)arg1 sql:(id)arg2 bindings:(id)arg3 forEachRow:(void)arg4 whenDone:(id)arg5; 35 | - (void)cancelWhen:(id)arg1; 36 | - (BOOL)shouldCancel; 37 | - (void)shutdown; 38 | - (void)runSQLite:(id)arg1; 39 | - (void)willSubmitTransaction:(id)arg1; 40 | - (void)explainQueryPlan:(id)arg1; 41 | - (int)doSQLChanges:(id)arg1 withBindings:(id)arg2; 42 | - (void)doSQLQuery:(id)arg1 withBindings:(id)arg2 forEachRow:(void)arg3; 43 | - (void)didDropTempTable:(id)arg1; 44 | - (void)didCreateTempTable:(id)arg1; 45 | - (id)newTempTableWithName:(id)arg1 schema:(id)arg2; 46 | - (id)newTempTableWithSchema:(id)arg1; 47 | - (id)newTempTableName; 48 | - (void)doBlock:(id)arg1; 49 | - (id)dbConnection; 50 | - (void)setAutoCheckpointThreshold:(int)arg1; 51 | - (id)initWithDatabase:(id)arg1 create:(BOOL)arg2 backgroundPriority:(BOOL)arg3; 52 | 53 | @end 54 | 55 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexDBSQLStream.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class IDEIndexDBConnection, IDEIndexDatabase; 10 | 11 | @interface IDEIndexDBSQLStream : NSObject 12 | { 13 | } 14 | 15 | - (void)willSubmitTransaction:(id)arg1; 16 | - (id)newTransaction; 17 | - (void)doSQL1:(id)arg1 withBindings:(id)arg2; 18 | - (void)doSQL:(id)arg1; 19 | - (void)doBlock:(id)arg1; 20 | @property(readonly, nonatomic) IDEIndexDBConnection *dbConnection; 21 | @property(readonly, nonatomic) IDEIndexDatabase *database; 22 | 23 | @end 24 | 25 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexFileCollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexCollection.h" 8 | #import 9 | 10 | @interface IDEIndexFileCollection : IDEIndexCollection 11 | { 12 | } 13 | 14 | - (id)instantiateRow:(struct sqlite3_stmt *)arg1; 15 | - (id)tempTableSchema; 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexNewSymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class IDEIndexNewFile; 10 | 11 | @interface IDEIndexNewSymbol : NSObject 12 | { 13 | IDEIndexNewFile *_file; 14 | long long _lineNumber; 15 | long long _column; 16 | long long _symbolId; 17 | unsigned long long _containerSeq; 18 | BOOL _hasBody; 19 | } 20 | 21 | @property(readonly, nonatomic) BOOL hasBody; // @synthesize hasBody=_hasBody; 22 | @property(nonatomic) unsigned long long containerSeq; // @synthesize containerSeq=_containerSeq; 23 | @property(nonatomic) long long symbolId; // @synthesize symbolId=_symbolId; 24 | @property(readonly, nonatomic) long long column; // @synthesize column=_column; 25 | @property(readonly, nonatomic) long long lineNumber; // @synthesize lineNumber=_lineNumber; 26 | @property(readonly, nonatomic) __weak IDEIndexNewFile *file; // @synthesize file=_file; 27 | //- (void).cxx_destruct; 28 | - (void)didAddBody; 29 | @property(readonly, nonatomic) long long realSymbolId; 30 | - (id)initWithFile:(id)arg1 lineNumber:(long long)arg2 column:(long long)arg3; 31 | 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexSymbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexSymbolOccurrence.h" 8 | 9 | //#import "IDEAutoImportable-Protocol.h" 10 | 11 | @class DVTFilePath, DVTSourceCodeLanguage, DVTSourceCodeSymbolKind, IDEIndexCollection, /*NSObject,*/ NSString; 12 | 13 | @interface IDEIndexSymbol : IDEIndexSymbolOccurrence /**/ 14 | { 15 | NSString *_name; 16 | NSString *_displayName; 17 | NSString *_qualifiedDisplayName; 18 | DVTSourceCodeSymbolKind *_symbolKind; 19 | DVTSourceCodeLanguage *_symbolLanguage; 20 | NSString *_resolution; 21 | long long _rawKind; 22 | long long _rawLanguage; 23 | BOOL _haveModelOccurrence; 24 | BOOL _isVirtual; 25 | NSString *_moduleName; 26 | } 27 | 28 | + (id)newSymbolOfKind:(id)arg1 language:(id)arg2 name:(id)arg3 moduleName:(id)arg4 resolution:(id)arg5 isVirtual:(BOOL)arg6 role:(long long)arg7 location:(id)arg8 forQueryProvider:(id)arg9; 29 | + (id)newSymbolOfKind:(id)arg1 language:(id)arg2 name:(id)arg3 resolution:(id)arg4 isVirtual:(BOOL)arg5 role:(long long)arg6 location:(id)arg7 forQueryProvider:(id)arg8; 30 | + (id)newSymbolOfKind:(id)arg1 language:(id)arg2 name:(id)arg3 resolution:(id)arg4 forQueryProvider:(id)arg5; 31 | + (id)newSymbolOfRawKind:(long long)arg1 rawLanguage:(long long)arg2 name:(id)arg3 resolution:(id)arg4 forQueryProvider:(id)arg5; 32 | + (id)newSymbolOfRawKind:(long long)arg1 kind:(id)arg2 rawLanguage:(long long)arg3 language:(id)arg4 name:(id)arg5 resolution:(id)arg6 forQueryProvider:(id)arg7; 33 | + (Class)classForSymbolKind:(id)arg1; 34 | @property(copy, nonatomic) NSString *moduleName; // @synthesize moduleName=_moduleName; 35 | @property(nonatomic) BOOL isVirtual; // @synthesize isVirtual=_isVirtual; 36 | @property(readonly, nonatomic) long long rawLanguage; // @synthesize rawLanguage=_rawLanguage; 37 | @property(readonly, nonatomic) DVTSourceCodeLanguage *symbolLanguage; // @synthesize symbolLanguage=_symbolLanguage; 38 | @property(readonly, nonatomic) long long rawKind; // @synthesize rawKind=_rawKind; 39 | @property(readonly, nonatomic) DVTSourceCodeSymbolKind *symbolKind; // @synthesize symbolKind=_symbolKind; 40 | @property(readonly, nonatomic) NSString *resolution; // @synthesize resolution=_resolution; 41 | @property(readonly, nonatomic) NSString *name; // @synthesize name=_name; 42 | //- (void).cxx_destruct; 43 | @property(readonly, nonatomic, getter=isAutoImportable) BOOL autoImportable; 44 | @property(readonly, nonatomic) DVTFilePath *filePathToHeaderToImport; 45 | @property(readonly, nonatomic) NSString *completionString; 46 | - (id)qualifiedDisplayName; 47 | - (id)displayName; 48 | - (id)references; 49 | - (id)referencingFiles; 50 | - (id)containerSymbol; 51 | - (id)containerSymbols; 52 | @property(readonly, nonatomic) IDEIndexCollection *definitions; 53 | - (id)declarations; 54 | - (id)occurrences; 55 | - (id)correspondingSymbol; 56 | - (id)location; 57 | - (id)file; 58 | - (long long)column; 59 | - (long long)lineNumber; 60 | - (long long)role; 61 | - (long long)objectId; 62 | - (id)occurrence; 63 | @property(readonly, nonatomic) BOOL hasOccurrence; 64 | - (void)setModelOccurrenceObjectId:(long long)arg1 role:(long long)arg2 lineNumber:(long long)arg3 column:(long long)arg4 file:(id)arg5; 65 | - (void)setModelOccurrenceRole:(long long)arg1 location:(id)arg2; 66 | - (void)setModelOccurrence:(id)arg1; 67 | - (id)modelOccurrence; 68 | @property(readonly, nonatomic, getter=isInProject) BOOL inProject; 69 | - (BOOL)isEqual:(id)arg1; 70 | @property(readonly) unsigned long long hash; 71 | @property(readonly, copy) NSString *description; 72 | - (void)setRawKind:(long long)arg1 kind:(id)arg2 rawLanguage:(long long)arg3 language:(id)arg4 name:(id)arg5 resolution:(id)arg6; 73 | 74 | // Remaining properties 75 | @property(readonly, copy) NSString *debugDescription; 76 | //@property(readonly, nonatomic) NSObject *queryProvider; 77 | @property(readonly) Class superclass; 78 | 79 | @end 80 | 81 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexSymbolCollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexCollection.h" 8 | #import 9 | 10 | @interface IDEIndexSymbolCollection : IDEIndexCollection 11 | { 12 | } 13 | 14 | - (id)instantiateRow:(struct sqlite3_stmt *)arg1; 15 | - (id)tempTableSchema; 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexSymbolOccurrence.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTDocumentLocation, DVTFilePath, IDEIndexSymbol, /*NSObject,*/ NSURL; 10 | 11 | @interface IDEIndexSymbolOccurrence : NSObject 12 | { 13 | long long _role; 14 | DVTDocumentLocation *_location; 15 | long long _objectId; 16 | long long _lineNumber; 17 | long long _column; 18 | DVTFilePath *_file; 19 | NSURL *_moduleURL; 20 | BOOL _lookedForCorrespondingSymbol; 21 | IDEIndexSymbol *_correspondingSymbol; 22 | //NSObject *_queryProvider; 23 | } 24 | 25 | + (id)newSymbolOccurrenceForSymbol:(id)arg1 role:(long long)arg2 location:(id)arg3 forQueryProvider:(id)arg4; 26 | + (id)newSymbolOccurrenceForSymbol:(id)arg1 objectId:(long long)arg2 role:(long long)arg3 lineNumber:(long long)arg4 column:(long long)arg5 file:(id)arg6 forQueryProvider:(id)arg7; 27 | //@property(readonly, nonatomic) NSObject *queryProvider; // @synthesize queryProvider=_queryProvider; 28 | @property(readonly, nonatomic) long long column; // @synthesize column=_column; 29 | @property(readonly, nonatomic) long long lineNumber; // @synthesize lineNumber=_lineNumber; 30 | @property(readonly, nonatomic) long long role; // @synthesize role=_role; 31 | @property(readonly, nonatomic) long long objectId; // @synthesize objectId=_objectId; 32 | //- (void).cxx_destruct; 33 | - (id)callees; 34 | @property(readonly, nonatomic) DVTDocumentLocation *location; 35 | @property(readonly, nonatomic) NSURL *moduleURL; 36 | @property(readonly, nonatomic) DVTFilePath *file; 37 | - (id)occurrence; 38 | - (id)containingSymbol; 39 | - (id)description; 40 | - (void)setOccurrence:(id)arg1; 41 | - (void)setRole:(long long)arg1 location:(id)arg2; 42 | - (void)setObjectId:(long long)arg1 role:(long long)arg2 lineNumber:(long long)arg3 column:(long long)arg4 file:(id)arg5 moduleURL:(id)arg6; 43 | - (void)setObjectId:(long long)arg1 role:(long long)arg2 lineNumber:(long long)arg3 column:(long long)arg4 file:(id)arg5; 44 | - (id)correspondingSymbol; 45 | - (id)initWithCorrespondingSymbol:(id)arg1 forQueryProvider:(id)arg2; 46 | 47 | @end 48 | 49 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexSymbolOccurrenceCollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexCollection.h" 8 | #import 9 | 10 | @class IDEIndexSymbol; 11 | 12 | @interface IDEIndexSymbolOccurrenceCollection : IDEIndexCollection 13 | { 14 | IDEIndexSymbol *_correspondingSymbol; 15 | } 16 | 17 | @property(retain, nonatomic) IDEIndexSymbol *correspondingSymbol; // @synthesize correspondingSymbol=_correspondingSymbol; 18 | //- (void).cxx_destruct; 19 | - (id)instantiateRow:(struct sqlite3_stmt *)arg1; 20 | - (id)tempTableSchema; 21 | 22 | @end 23 | 24 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIndexSymbolWithOccurrenceCollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEIndexSymbolCollection.h" 8 | 9 | @interface IDEIndexSymbolWithOccurrenceCollection : IDEIndexSymbolCollection 10 | { 11 | } 12 | 13 | - (id)instantiateRow:(struct sqlite3_stmt *)arg1; 14 | - (id)tempTableSchema; 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEIssueProvider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "NSObject.h" 10 | 11 | //#import "DVTInvalidation-Protocol.h" 12 | 13 | @class DVTExtension, DVTStackBacktrace, IDEIssueManager, IDEIssueProviderSession, NSString; 14 | 15 | @interface IDEIssueProvider : NSObject /**/ 16 | { 17 | IDEIssueManager *_issueManager; 18 | DVTExtension *_extension; 19 | IDEIssueProviderSession *_session; 20 | } 21 | 22 | + (int)providerType; 23 | + (void)initialize; 24 | @property(retain) IDEIssueProviderSession *_session; // @synthesize _session; 25 | @property(readonly) DVTExtension *extension; // @synthesize extension=_extension; 26 | @property(retain) IDEIssueManager *issueManager; // @synthesize issueManager=_issueManager; 27 | //- (void).cxx_destruct; 28 | - (BOOL)allowsExistingIssuesToBeCoalesced; 29 | - (BOOL)allowsNewIssuesToBeCoalesced; 30 | @property(readonly) BOOL _filterIssuesByActiveScheme; 31 | - (id)logDocumentLocationForIssue:(id)arg1; 32 | - (id)activityLogRecordForIssue:(id)arg1; 33 | - (void)endProviderSession; 34 | - (void)startProviderSession; 35 | - (id)displayNameForIssueTypeIdentifier:(id)arg1; 36 | - (void)removeIssues:(id)arg1 forProviderContext:(id)arg2; 37 | - (void)addIssues:(id)arg1 forProviderContext:(id)arg2 container:(id)arg3 blueprint:(id)arg4; 38 | - (void)setIssues:(id)arg1 forProviderContext:(id)arg2 container:(id)arg3 blueprint:(id)arg4; 39 | @property(readonly, copy) NSString *description; 40 | - (void)primitiveInvalidate; 41 | - (id)initWithIssueManager:(id)arg1 extension:(id)arg2; 42 | - (id)init; 43 | 44 | // Remaining properties 45 | @property(retain) DVTStackBacktrace *creationBacktrace; 46 | @property(readonly, copy) NSString *debugDescription; 47 | @property(readonly) unsigned long long hash; 48 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 49 | @property(readonly) Class superclass; 50 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 51 | 52 | @end 53 | 54 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEKeyDrivenNavigableItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDENavigableItem.h" 8 | 9 | @class NSDictionary; 10 | 11 | @interface IDEKeyDrivenNavigableItem : IDENavigableItem 12 | { 13 | NSDictionary *_cachedPropertyValues; 14 | struct { 15 | unsigned int _invalidatingChildItems:1; 16 | unsigned int _disposing:1; 17 | unsigned int _reserved:30; 18 | } _idekdniFlags; 19 | } 20 | 21 | + (void)_customizeNewNavigableItemClass:(Class)arg1 forModelObjectClass:(Class)arg2 extension:(id)arg3; 22 | + (id)_automatic_keyPathsForValuesAffectingMajorGroup; 23 | + (id)keyPathsForValuesAffectingFileReference; 24 | + (id)keyPathsForValuesAffectingGroupIdentifier; 25 | + (id)keyPathsForValuesAffectingToolTip; 26 | + (id)keyPathsForValuesAffectingImage; 27 | + (id)keyPathsForValuesAffectingName; 28 | + (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4; 29 | + (unsigned long long)countOfNavigableItemsForRepresentedObject:(id)arg1; 30 | + (id)navigableItemsForRepresentedObject:(id)arg1; 31 | + (id)keyPathsForValuesAffectingConflictStateForUpdateOrMerge; 32 | + (id)keyPathsForValuesAffectingSourceControlCurrentRevision; 33 | + (id)keyPathsForValuesAffectingSourceControlLastModifiedDate; 34 | + (id)keyPathsForValuesAffectingSourceControlServerStatusFlag; 35 | + (id)keyPathsForValuesAffectingSourceControlServerStatus; 36 | + (id)keyPathsForValuesAffectingSourceControlLocalStatusFlag; 37 | + (id)keyPathsForValuesAffectingSourceControlLocalStatus; 38 | + (id)keyPathsForValuesAffectingProgressValue; 39 | //- (void).cxx_destruct; 40 | - (unsigned long long)indexOfChildItemForIdentifier:(id)arg1; 41 | - (id)identifierForChildItem:(id)arg1; 42 | - (BOOL)_automatic_isMajorGroup; 43 | - (BOOL)isMajorGroup; 44 | - (id)contentDocumentLocation; 45 | - (id)documentType; 46 | - (id)fileReference; 47 | - (id)groupIdentifier; 48 | - (id)toolTip; 49 | - (id)image; 50 | - (id)name; 51 | - (void)_setRepresentedObject:(id)arg1; 52 | - (void)invalidateValueForKey:(id)arg1; 53 | - (id)cachedValueForProperty:(id)arg1; 54 | - (void)cacheValue:(id)arg1 forProperty:(id)arg2; 55 | - (id)cachedPropertyValues; 56 | - (id)_cachedPropertyValues; 57 | - (void)_configurePropertyObservingForKey:(id)arg1; 58 | - (void)_propagateFilterPredicateToChildItems; 59 | - (BOOL)isLeaf; 60 | - (id)childRepresentedObjects; 61 | - (id)_childItemsKeyPath; 62 | - (id)childItemsKeyPath; 63 | - (void)willAccessChildItems; 64 | - (void)invalidateChildItems; 65 | - (void)_refreshChildItem:(id)arg1; 66 | - (void)_setCoordinator:(id)arg1; 67 | - (void)primitiveInvalidate; 68 | - (void)_removeFromNavigableItemByRepresentedObjectMap; 69 | - (void)_registerInNavigableItemByRepresentedObjectMap; 70 | - (BOOL)representedObjectSupportsVariableConformanceString; 71 | - (id)initWithRepresentedObject:(id)arg1; 72 | - (id)sourceControlSourceTreeName; 73 | - (unsigned long long)conflictStateForUpdateOrMerge; 74 | - (id)sourceControlCurrentRevision; 75 | - (id)sourceControlLastModifiedDate; 76 | - (id)sourceControlServerStatus; 77 | - (int)sourceControlServerStatusFlag; 78 | - (id)sourceControlLocalStatus; 79 | - (int)sourceControlLocalStatusFlag; 80 | - (long long)progressValue; 81 | 82 | @end 83 | 84 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEKeyDrivenNavigableItemRepresentedObject-Protocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "NSObject-Protocol.h" 8 | 9 | @class DVTDocumentLocation, DVTFileDataType, IDEFileReference, NSImage, NSString; 10 | 11 | @protocol IDEKeyDrivenNavigableItemRepresentedObject 12 | @property(readonly) NSString *navigableItem_name; 13 | 14 | @optional 15 | @property(readonly) NSString *navigableItem_groupIdentifier; 16 | @property(readonly) DVTDocumentLocation *navigableItem_contentDocumentLocation; 17 | @property(readonly) DVTFileDataType *navigableItem_documentType; 18 | @property(readonly) IDEFileReference *navigableItem_fileReference; 19 | @property(readonly) BOOL navigableItem_isLeaf; 20 | @property(readonly) BOOL navigableItem_isMajorGroup; 21 | @property(readonly) NSString *navigableItem_toolTip; 22 | @property(readonly) NSImage *navigableItem_image; 23 | - (id)navigableItem_contentDocumentLocationInDocumentURL:(id)arg1; 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDENavigator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "IDEFilterControlBarTarget-Protocol.h" 10 | //#import "IDENavigableItemCoordinatorDelegate-Protocol.h" 11 | 12 | @class IDENavigableItem, IDENavigableItemCoordinator, NSMenu, NSMutableDictionary, NSPredicate, NSString, NSView; 13 | 14 | @interface IDENavigator : NSObject/*IDEViewController */ 15 | { 16 | IDENavigableItem *_rootNavigableItem; 17 | IDENavigableItemCoordinator *_navigableItemCoordinator; 18 | NSMutableDictionary *_cachedStateForParentViewController; 19 | NSView *_primaryFilterControl; 20 | NSPredicate *_filterPredicate; 21 | BOOL _filteringEnabled; 22 | } 23 | 24 | + (BOOL)automaticallyNotifiesObserversOfRootNavigableItem; 25 | + (void)initialize; 26 | @property __weak NSMutableDictionary *cachedStateForParentViewController; // @synthesize cachedStateForParentViewController=_cachedStateForParentViewController; 27 | @property(retain, nonatomic) IDENavigableItem *rootNavigableItem; // @synthesize rootNavigableItem=_rootNavigableItem; 28 | @property(retain, nonatomic) NSPredicate *filterPredicate; // @synthesize filterPredicate=_filterPredicate; 29 | @property(retain) NSView *_primaryFilterControl; // @synthesize _primaryFilterControl; 30 | @property(nonatomic, getter=isFilteringEnabled) BOOL filteringEnabled; // @synthesize filteringEnabled=_filteringEnabled; 31 | //- (void).cxx_destruct; 32 | - (void)focusedEditorDidSelectItem:(id)arg1; 33 | - (id)navigableItemsForArchivedNavigableItems:(id)arg1; 34 | - (void)revealArchivedNavigableItems:(id)arg1; 35 | - (void)revealNavigableItems:(id)arg1; 36 | - (void)_revealNavigableItems:(id)arg1; 37 | @property(readonly) NSString *filterDefinitionIdentifier; 38 | - (BOOL)canBecomeMainViewController; 39 | - (void)primitiveInvalidate; 40 | - (BOOL)makePrimaryFilterControlKey; 41 | @property(readonly) NSString *filterButtonAccessibilityDescription; 42 | @property(readonly) NSString *filterButtonToolTip; 43 | @property(readonly) NSMenu *filterButtonMenu; 44 | @property(readonly) NSString *domainIdentifier; 45 | @property(retain) IDENavigableItemCoordinator *navigableItemCoordinator; 46 | - (void)setOutputSelection:(id)arg1; 47 | - (void)updateBoundSelection; 48 | - (void)viewDidInstall; 49 | - (void)updateBoundContent; 50 | - (id)dvtExtraBindings; 51 | 52 | // Remaining properties 53 | @property(readonly, copy) NSString *debugDescription; 54 | @property(readonly, copy) NSString *description; 55 | @property(readonly) unsigned long long hash; 56 | @property(readonly) Class superclass; 57 | 58 | @end 59 | 60 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDENavigatorOutlineViewDelegate-Protocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTOutlineViewDelegate-Protocol.h" 8 | 9 | @protocol IDENavigatorOutlineViewDelegate 10 | 11 | @optional 12 | - (struct _NSRange)outlineView:(id)arg1 initialSelectionRangeForCell:(id)arg2 proposedRange:(struct _NSRange)arg3; 13 | - (id)outlineView:(id)arg1 shouldCollapseTrayForItem:(id)arg2; 14 | - (id)trayCellsForHeaderItem:(id)arg1; 15 | - (id)outlineView:(id)arg1 childItemsForItem:(id)arg2; 16 | - (BOOL)outlineView:(id)arg1 isGroupHeaderItem:(id)arg2; 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEPathControl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | //#import "NSPathControl.h" 8 | 9 | //#import "DVTInvalidation-Protocol.h" 10 | 11 | #import 12 | 13 | @class DVTStackBacktrace, NSString; 14 | 15 | @interface IDEPathControl : NSPathControl /**/ 16 | { 17 | NSString *_menuDefinitionIdentifier; 18 | } 19 | 20 | + (Class)cellClass; 21 | + (unsigned long long)defaultFocusRingType; 22 | + (void)initialize; 23 | @property(copy) NSString *menuDefinitionIdentifier; // @synthesize menuDefinitionIdentifier=_menuDefinitionIdentifier; 24 | //- (void).cxx_destruct; 25 | - (id)accessibilityPopUpMenuParent:(id)arg1; 26 | - (struct CGSize)sizeWanted; 27 | - (void)viewWillMoveToWindow:(id)arg1; 28 | - (void)popUpMenuForComponentCell:(id)arg1; 29 | - (void)_popUpMenuForComponentCell:(id)arg1; 30 | - (id)menuForEvent:(id)arg1; 31 | - (struct CGRect)grabRect; 32 | - (void)setFont:(id)arg1; 33 | @property BOOL lastComponentFillsWidth; 34 | @property int borderSides; 35 | - (BOOL)isOpaque; 36 | @property int gradientStyle; 37 | - (void)primitiveInvalidate; 38 | - (id)outputSelection; 39 | - (void)updateBoundContent; 40 | - (void)updateBoundSelectedNavigableItem; 41 | - (void)setDelegate:(id)arg1; 42 | - (id)dvtExtraBindings; 43 | - (id)initWithFrame:(struct CGRect)arg1; 44 | 45 | // Remaining properties 46 | @property(retain) DVTStackBacktrace *creationBacktrace; 47 | @property(readonly, copy) NSString *debugDescription; 48 | @property(readonly, copy) NSString *description; 49 | @property(readonly) unsigned long long hash; 50 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 51 | @property(readonly) Class superclass; 52 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 53 | 54 | @end 55 | 56 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDERunDestination.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTDevice, DVTObservingToken, DVTSDK, NSError, NSString; 10 | 11 | @interface IDERunDestination : NSObject 12 | { 13 | DVTObservingToken *_targetDeviceNameObservingToken; 14 | BOOL _isTargetDeviceEligible; 15 | DVTDevice *_targetDevice; 16 | NSString *_targetArchitecture; 17 | DVTSDK *_targetSDK; 18 | NSString *_targetIdentifier; 19 | NSError *_deviceIneligibilityError; 20 | } 21 | 22 | + (id)fallbackActiveArchitectureForBuildArchitectures:(id)arg1; 23 | + (id)keyPathsForValuesAffectingFullDisplayName; 24 | + (id)keyPathsForValuesAffectingDisplayName; 25 | + (void)initialize; 26 | @property(retain) NSError *deviceIneligibilityError; // @synthesize deviceIneligibilityError=_deviceIneligibilityError; 27 | @property(readonly) BOOL isTargetDeviceEligible; // @synthesize isTargetDeviceEligible=_isTargetDeviceEligible; 28 | @property(readonly) NSString *targetIdentifier; // @synthesize targetIdentifier=_targetIdentifier; 29 | @property(readonly) DVTSDK *targetSDK; // @synthesize targetSDK=_targetSDK; 30 | @property(readonly, copy) NSString *targetArchitecture; // @synthesize targetArchitecture=_targetArchitecture; 31 | @property(readonly) DVTDevice *targetDevice; // @synthesize targetDevice=_targetDevice; 32 | //- (void).cxx_destruct; 33 | - (id)dvt_detailedDebugDescription; 34 | - (id)activeArchitectureForBuildArchitectures:(id)arg1; 35 | - (void)didBecomeActiveRunDestinationForRunContext:(id)arg1; 36 | - (id)runOperationForLaunchSession:(id)arg1 error:(id *)arg2; 37 | - (id)runWorkerForLaunchSession:(id)arg1 error:(id *)arg2; 38 | - (id)targetArchitectureForSorting; 39 | - (id)targetSDKForSorting; 40 | - (id)targetDeviceForSorting; 41 | - (id)displayOrder; 42 | - (BOOL)shouldPresentRunDestinationForScheme:(id)arg1 schemeTask:(int)arg2 schemeCommand:(id)arg3 executionEnvironment:(id)arg4 overridingTestingSpecifiers:(id)arg5 error:(id *)arg6; 43 | - (BOOL)isValidRunDestinationForScheme:(id)arg1 schemeTask:(int)arg2 schemeCommand:(id)arg3 executionEnvironment:(id)arg4 overridingTestingSpecifiers:(id)arg5 error:(id *)arg6; 44 | - (BOOL)_isValidRunDestinationForScheme:(id)arg1 schemeTask:(int)arg2 schemeCommand:(id)arg3 executionEnvironment:(id)arg4 overridingTestingSpecifiers:(id)arg5 forPresentation:(BOOL)arg6 error:(id *)arg7; 45 | - (id)description; 46 | @property(readonly, copy) NSString *fullDisplayName; 47 | @property(readonly, copy) NSString *displayNameAdditions; 48 | @property(readonly, copy) NSString *displayName; 49 | - (id)initWithIneligibleTargetDevice:(id)arg1 architecture:(id)arg2 SDK:(id)arg3 deviceIneligibilityError:(id)arg4; 50 | - (id)initWithTargetDevice:(id)arg1 architecture:(id)arg2 SDK:(id)arg3; 51 | 52 | @end 53 | 54 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDERunOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTOperation.h" 8 | 9 | //#import "IDEExecutingOperationTrackable-Protocol.h" 10 | //#import "IDERunOperationWorkerDelegate-Protocol.h" 11 | 12 | @class IDELaunchSession, IDERunOperationWorker, NSMutableArray, NSString; 13 | 14 | @interface IDERunOperation : DVTOperation /**/ 15 | { 16 | NSMutableArray *_trackers; 17 | NSMutableArray *_trackerObserverTokens; 18 | //id _cancellationToken; 19 | id _finishToken; 20 | BOOL _workaroundIsCancelled; 21 | IDERunOperationWorker *_worker; 22 | } 23 | 24 | + (id)keyPathsForValuesAffectingLaunchSession; 25 | + (id)keyPathsForValuesAffectingIsCancelled; 26 | @property(retain) IDERunOperationWorker *worker; // @synthesize worker=_worker; 27 | @property BOOL workaroundIsCancelled; // @synthesize workaroundIsCancelled=_workaroundIsCancelled; 28 | @property(retain) NSMutableArray *trackers; // @synthesize trackers=_trackers; 29 | //- (void).cxx_destruct; 30 | - (void)registerTracker:(id)arg1; 31 | - (void)_runningTrackerFinished:(id)arg1; 32 | - (void)runningDidFinish; 33 | @property(readonly) IDELaunchSession *launchSession; 34 | - (void)cancel; 35 | - (BOOL)isCancelled; 36 | - (void)main; 37 | - (void)workerDidComplete:(id)arg1 withError:(id)arg2; 38 | - (id)initWithWorker:(id)arg1; 39 | 40 | // Remaining properties 41 | @property(readonly, copy) NSString *debugDescription; 42 | @property(readonly, copy) NSString *description; 43 | @property(readonly) unsigned long long hash; 44 | @property(readonly) Class superclass; 45 | 46 | @end 47 | 48 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDERunOperationWorker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "DVTInvalidation-Protocol.h" 10 | 11 | @class DVTDispatchLock, DVTStackBacktrace, IDELaunchSession, NSString; 12 | 13 | @interface IDERunOperationWorker : NSObject /**/ 14 | { 15 | NSString *_extensionIdentifier; 16 | IDELaunchSession *_launchSession; 17 | //id _runOperation; 18 | //id _runnableTracker; 19 | DVTDispatchLock *_lock; 20 | } 21 | 22 | + (void)initialize; 23 | //@property(retain) id runnableTracker; // @synthesize runnableTracker=_runnableTracker; 24 | @property(readonly) IDELaunchSession *launchSession; // @synthesize launchSession=_launchSession; 25 | @property(readonly) NSString *extensionIdentifier; // @synthesize extensionIdentifier=_extensionIdentifier; 26 | //- (void).cxx_destruct; 27 | - (void)primitiveInvalidate; 28 | @property(readonly, copy) NSString *description; 29 | - (void)terminate; 30 | - (void)finishedWithError:(id)arg1; 31 | - (void)start; 32 | - (void)setRunOperation:(id)arg1; 33 | - (id)initWithExtensionIdentifier:(id)arg1 launchSession:(id)arg2; 34 | 35 | // Remaining properties 36 | @property(retain) DVTStackBacktrace *creationBacktrace; 37 | @property(readonly, copy) NSString *debugDescription; 38 | @property(readonly) unsigned long long hash; 39 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 40 | @property(readonly) Class superclass; 41 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 42 | 43 | @end 44 | 45 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEStackFrame.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | //#import "NSObject.h" 8 | 9 | //#import "DVTInvalidation.h" 10 | //#import "IDEDebugNavigableModel.h" 11 | #import 12 | @class DVTStackBacktrace, IDECodeModule, IDELaunchSession, IDEThread, NSNumber, NSString, NSURL; 13 | 14 | @interface IDEStackFrame : NSObject /**/ 15 | { 16 | BOOL _hasSymbols; 17 | BOOL _recorded; 18 | BOOL _causedCrash; 19 | NSString *_associatedProcessUUID; 20 | NSString *_displayName; 21 | NSString *_filePath; 22 | IDEThread *_parentThread; 23 | NSString *_name; 24 | NSNumber *_frameNumber; 25 | NSNumber *_framePointer; 26 | NSURL *_fileURL; 27 | NSNumber *_lineNumber; 28 | IDECodeModule *_module; 29 | } 30 | 31 | + (id)keyPathsForValuesAffectingDisplayName; 32 | + (id)compressedStackFrames:(id)arg1 usingCompressionValue:(long long)arg2; 33 | + (void)initialize; 34 | @property(nonatomic, getter=hasCausedCrash) BOOL causedCrash; // @synthesize causedCrash=_causedCrash; 35 | @property(nonatomic, getter=isRecorded) BOOL recorded; // @synthesize recorded=_recorded; 36 | @property(retain, nonatomic) IDECodeModule *module; // @synthesize module=_module; 37 | @property(copy, nonatomic) NSNumber *lineNumber; // @synthesize lineNumber=_lineNumber; 38 | @property(copy, nonatomic) NSURL *fileURL; // @synthesize fileURL=_fileURL; 39 | @property(nonatomic) BOOL hasSymbols; // @synthesize hasSymbols=_hasSymbols; 40 | @property(copy, nonatomic) NSNumber *framePointer; // @synthesize framePointer=_framePointer; 41 | @property(copy, nonatomic) NSNumber *frameNumber; // @synthesize frameNumber=_frameNumber; 42 | @property(copy, nonatomic) NSString *name; // @synthesize name=_name; 43 | @property(retain, nonatomic) IDEThread *parentThread; // @synthesize parentThread=_parentThread; 44 | @property(readonly, copy) NSString *associatedProcessUUID; // @synthesize associatedProcessUUID=_associatedProcessUUID; 45 | //- (void).cxx_destruct; 46 | - (void)primitiveInvalidate; 47 | @property(readonly, nonatomic) NSString *filePath; // @synthesize filePath=_filePath; 48 | @property(readonly, nonatomic) NSString *displayName; // @synthesize displayName=_displayName; 49 | @property(readonly) IDELaunchSession *launchSession; 50 | @property(readonly, copy) NSString *description; 51 | @property(readonly) unsigned long long hash; 52 | - (BOOL)isEqual:(id)arg1; 53 | - (id)initWithParentThread:(id)arg1 frameNumber:(id)arg2 framePointer:(id)arg3 name:(id)arg4; 54 | 55 | // Remaining properties 56 | @property(retain) DVTStackBacktrace *creationBacktrace; 57 | @property(readonly, copy) NSString *debugDescription; 58 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 59 | @property(readonly) Class superclass; 60 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 61 | 62 | @end 63 | 64 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEThread.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | //#import "NSObject.h" 8 | 9 | //#import "DVTInvalidation.h" 10 | //#import "IDEDebugNavigableModel.h" 11 | #import 12 | @class DVTStackBacktrace, IDEDebugProcess, IDELaunchSession, NSArray, NSNumber, NSString; 13 | 14 | @interface IDEThread : NSObject /**/ 15 | { 16 | BOOL _hasLatestStackFrames; 17 | BOOL _recorded; 18 | int _state; 19 | NSString *_associatedProcessUUID; 20 | IDEDebugProcess *_parentProcess; 21 | NSNumber *_uniqueID; 22 | NSString *_threadName; 23 | NSString *_threadDisplayName; 24 | NSArray *_stackFrames; 25 | IDEThread *_recordedThread; 26 | NSString *_lastReasonStopped; 27 | } 28 | 29 | + (id)keyPathsForValuesAffectingThreadDisplayName; 30 | + (id)displayNameForThreadName:(id)arg1 threadID:(id)arg2; 31 | + (void)initialize; 32 | @property(copy, nonatomic) NSString *lastReasonStopped; // @synthesize lastReasonStopped=_lastReasonStopped; 33 | @property(nonatomic, getter=isRecorded) BOOL recorded; // @synthesize recorded=_recorded; 34 | @property(retain, nonatomic) IDEThread *recordedThread; // @synthesize recordedThread=_recordedThread; 35 | @property(copy, nonatomic) NSArray *stackFrames; // @synthesize stackFrames=_stackFrames; 36 | @property(nonatomic) BOOL hasLatestStackFrames; // @synthesize hasLatestStackFrames=_hasLatestStackFrames; 37 | @property(readonly, nonatomic) NSString *threadDisplayName; // @synthesize threadDisplayName=_threadDisplayName; 38 | @property(copy, nonatomic) NSString *threadName; // @synthesize threadName=_threadName; 39 | @property(nonatomic) int state; // @synthesize state=_state; 40 | @property(readonly, nonatomic) NSNumber *uniqueID; // @synthesize uniqueID=_uniqueID; 41 | @property(retain, nonatomic) IDEDebugProcess *parentProcess; // @synthesize parentProcess=_parentProcess; 42 | @property(readonly, copy) NSString *associatedProcessUUID; // @synthesize associatedProcessUUID=_associatedProcessUUID; 43 | //- (void).cxx_destruct; 44 | - (void)primitiveInvalidate; 45 | - (id)compressedStackFramesIncludingRecorded:(long long)arg1; 46 | - (BOOL)_shouldSkipRecordedFrames; 47 | - (id)compressedStackFrames:(long long)arg1; 48 | @property(readonly) IDELaunchSession *launchSession; 49 | @property(readonly, copy) NSString *description; 50 | - (id)initWithParentProcess:(id)arg1 uniqueID:(id)arg2; 51 | 52 | // Remaining properties 53 | @property(retain) DVTStackBacktrace *creationBacktrace; 54 | @property(readonly, copy) NSString *debugDescription; 55 | @property(readonly) unsigned long long hash; 56 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 57 | @property(readonly) Class superclass; 58 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 59 | 60 | @end 61 | 62 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEVariablesViewNode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | //#import "NSObject.h" 9 | 10 | //#import "NSCopying-Protocol.h" 11 | //#import "NSPasteboardWriting-Protocol.h" 12 | 13 | @class DVTObservingToken, DVTPointerArray, NSArray, NSMutableArray, NSPredicate, NSString; 14 | 15 | @interface IDEVariablesViewNode : NSObject /**/ 16 | { 17 | IDEVariablesViewNode *_parent; 18 | DVTObservingToken *_childObserver; 19 | DVTObservingToken *_childValuesCountValidObserver; 20 | DVTPointerArray *_childrenPointerArray; 21 | NSMutableArray *_filteredChildren; 22 | BOOL _expanded; 23 | id _dataValue; 24 | unsigned long long _type; 25 | NSPredicate *_childFilter; 26 | NSString *_placeholderStringForNilDataValue; 27 | NSArray *_childSortDescriptors; 28 | NSString *_manuallySetName; 29 | } 30 | 31 | + (id)keyPathsForValuesAffectingNumberOfChildren; 32 | + (id)keyPathsForValuesAffectingChildValuesCountValid; 33 | + (id)keyPathsForValuesAffectingHasChildren; 34 | + (id)keyPathsForValuesAffectingName; 35 | + (id)rootWithChildren:(id)arg1; 36 | + (void)initialize; 37 | @property(copy) NSString *manuallySetName; // @synthesize manuallySetName=_manuallySetName; 38 | @property(copy, nonatomic) NSArray *childSortDescriptors; // @synthesize childSortDescriptors=_childSortDescriptors; 39 | @property(copy) NSString *placeholderStringForNilDataValue; // @synthesize placeholderStringForNilDataValue=_placeholderStringForNilDataValue; 40 | @property(nonatomic) BOOL expanded; // @synthesize expanded=_expanded; 41 | @property(retain, nonatomic) NSPredicate *childFilter; // @synthesize childFilter=_childFilter; 42 | @property(readonly) unsigned long long type; // @synthesize type=_type; 43 | @property(readonly) id dataValue; // @synthesize dataValue=_dataValue; 44 | @property __weak IDEVariablesViewNode *parent; // @synthesize parent=_parent; 45 | //- (void).cxx_destruct; 46 | - (long long)compareType:(id)arg1; 47 | - (id)pasteboardPropertyListForType:(id)arg1; 48 | - (id)writableTypesForPasteboard:(id)arg1; 49 | - (void)_ensureChildrenAreValid:(id)arg1; 50 | - (void)recursivleyRestoreExpansionStateAndLoadChildrenUsingContextState:(id)arg1 completionHandler:(id)arg2; 51 | - (id)objectInChildrenProxyAtIndex:(unsigned long long)arg1; 52 | - (unsigned long long)countOfChildrenProxy; 53 | - (void)_dataValueChildValuesChanged:(id)arg1; 54 | @property(readonly) NSArray *children; 55 | - (id)_childVariableNodeForChildDataValue:(id)arg1; 56 | - (void)_calculateAndSetFilteredChildren; 57 | - (void)_setFilteredChildrenToNilTriggeringKVO; 58 | @property(readonly) NSArray *filteredChildren; 59 | - (void)setChildren:(id)arg1; 60 | - (BOOL)shouldShowAsFilteredChild; 61 | @property(readonly) long long numberOfChildren; 62 | @property(readonly) BOOL childValuesCountValid; 63 | @property(readonly) BOOL hasChildren; 64 | @property(readonly) BOOL isTopLevelNode; 65 | @property(readonly, copy) NSString *description; 66 | - (BOOL)isEqual:(id)arg1; 67 | @property(readonly) unsigned long long hash; 68 | @property(readonly) NSString *fullNamePath; 69 | - (void)overrideDefaultName:(id)arg1; 70 | @property(readonly) NSString *name; 71 | - (void)setDataValue:(id)arg1; 72 | - (void)cleanup; 73 | - (id)initWithDataValue:(id)arg1 type:(unsigned long long)arg2; 74 | - (id)copyWithZone:(struct _NSZone *)arg1; 75 | 76 | // Remaining properties 77 | @property(readonly, copy) NSString *debugDescription; 78 | @property(readonly) Class superclass; 79 | 80 | @end 81 | 82 | @interface IDEVariableViewRootNode : IDEVariablesViewNode 83 | { 84 | } 85 | 86 | - (long long)numberOfChildren; 87 | - (BOOL)childValuesCountValid; 88 | - (BOOL)hasChildren; 89 | - (id)name; 90 | - (void)removeChildnode:(id)arg1; 91 | - (void)addChildNode:(id)arg1; 92 | - (id)initWithChildren:(id)arg1; 93 | - (id)copyWithZone:(struct _NSZone *)arg1; 94 | 95 | @end 96 | 97 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "DVTViewController.h" 8 | 9 | //#import "DVTStatefulObject-Protocol.h" 10 | //#import "IDESelectionSource-Protocol.h" 11 | 12 | @class DVTStateToken, IDESelection, IDEWorkspace, IDEWorkspaceDocument, IDEWorkspaceTabController, NSString; 13 | 14 | @interface IDEViewController : DVTViewController /**/ 15 | { 16 | IDEWorkspaceTabController *_workspaceTabController; 17 | //id _workspaceDocumentProvider; 18 | id _outputSelection; 19 | id _contextMenuSelection; 20 | DVTStateToken *_stateToken; 21 | } 22 | 23 | + (void)configureStateSavingObjectPersistenceByName:(id)arg1; 24 | + (long long)version; 25 | + (id)keyPathsForValuesAffectingWorkspace; 26 | + (id)keyPathsForValuesAffectingWorkspaceDocument; 27 | @property(readonly) DVTStateToken *stateToken; // @synthesize stateToken=_stateToken; 28 | @property(retain, nonatomic) IDEWorkspaceTabController *workspaceTabController; // @synthesize workspaceTabController=_workspaceTabController; 29 | @property(copy) IDESelection *contextMenuSelection; // @synthesize contextMenuSelection=_contextMenuSelection; 30 | @property(copy) IDESelection *outputSelection; // @synthesize outputSelection=_outputSelection; 31 | //- (void).cxx_destruct; 32 | - (void)setStateToken:(id)arg1; 33 | - (BOOL)_knowsAboutInstalledState; 34 | - (void)revertState; 35 | - (void)commitState; 36 | - (void)commitStateToDictionary:(id)arg1; 37 | - (void)revertStateWithDictionary:(id)arg1; 38 | - (void)primitiveInvalidate; 39 | @property(readonly) BOOL automaticallyInvalidatesChildViewControllers; 40 | - (void)_invalidateSubViewControllersForView:(id)arg1; 41 | - (id)supplementalTargetForAction:(SEL)arg1 sender:(id)arg2; 42 | @property(readonly) IDEWorkspace *workspace; 43 | @property(readonly) IDEWorkspaceDocument *workspaceDocument; 44 | - (id)workspaceDocumentProvider; 45 | - (void)_resolveWorkspaceDocumentProvider; 46 | - (void)_resolveWorkspaceTabController; 47 | - (void)viewDidInstall; 48 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2; 49 | 50 | // Remaining properties 51 | @property(readonly, copy) NSString *debugDescription; 52 | @property(readonly, copy) NSString *description; 53 | @property(readonly) unsigned long long hash; 54 | @property(readonly) Class superclass; 55 | 56 | @end 57 | 58 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEWorkspaceArenaInfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class DVTFilePath, NSDictionary; 10 | 11 | @interface IDEWorkspaceArenaInfo : NSObject 12 | { 13 | NSDictionary *_infoDict; 14 | DVTFilePath *_workspacePath; 15 | } 16 | 17 | + (id)workspaceArenaInfoFromFileAtPath:(id)arg1 error:(id *)arg2; 18 | + (id)workspaceArenaInfoWithWorkspacePath:(id)arg1; 19 | //- (void).cxx_destruct; 20 | - (BOOL)writeToFileAtPath:(id)arg1 withRelativeWorkspacePath:(BOOL)arg2 error:(id *)arg3; 21 | @property(readonly) DVTFilePath *workspacePath; 22 | 23 | @end 24 | 25 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEWorkspaceSettings.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | //#import "DVTInvalidation-Protocol.h" 10 | 11 | @class DVTStackBacktrace, IDEWorkspace, NSMutableDictionary, NSString; 12 | 13 | @interface IDEWorkspaceSettings : NSObject /**/ 14 | { 15 | IDEWorkspace *_workspace; 16 | NSMutableDictionary *_workspaceSettings; 17 | BOOL _loadedExistingSettings; 18 | } 19 | 20 | + (void)initialize; 21 | @property(readonly) BOOL loadedExistingSettings; // @synthesize loadedExistingSettings=_loadedExistingSettings; 22 | @property(readonly) IDEWorkspace *workspace; // @synthesize workspace=_workspace; 23 | //- (void).cxx_destruct; 24 | - (void)primitiveInvalidate; 25 | - (void)loadSettings; 26 | - (void)saveSettings; 27 | - (id)customDataSpecifier; 28 | - (id)settingsOwnership; 29 | - (void)setBool:(BOOL)arg1 forKey:(id)arg2; 30 | - (void)setInteger:(long long)arg1 forKey:(id)arg2; 31 | - (void)setString:(id)arg1 forKey:(id)arg2; 32 | - (BOOL)boolForKey:(id)arg1; 33 | - (long long)integerForKey:(id)arg1; 34 | - (id)stringForKey:(id)arg1; 35 | - (void)removeObjectForKey:(id)arg1; 36 | - (void)setObject:(id)arg1 forKey:(id)arg2; 37 | - (id)objectForKey:(id)arg1; 38 | - (id)initWithWorkspace:(id)arg1; 39 | 40 | // Remaining properties 41 | @property(retain) DVTStackBacktrace *creationBacktrace; 42 | @property(readonly, copy) NSString *debugDescription; 43 | @property(readonly, copy) NSString *description; 44 | @property(readonly) unsigned long long hash; 45 | @property(readonly) DVTStackBacktrace *invalidationBacktrace; 46 | @property(readonly) Class superclass; 47 | @property(readonly, nonatomic, getter=isValid) BOOL valid; 48 | 49 | @end 50 | 51 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/IDEXMLPackageContainer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "IDEContainer.h" 8 | 9 | /*#import "DVTXMLUnarchiverDelegate-Protocol.h" 10 | #import "DVTXMLUnarchiving-Protocol.h" 11 | #import "IDECustomDataStoring-Protocol.h"*/ 12 | 13 | @class DVTMapTable, IDEDirectoryBasedCustomDataStore, IDEGroup, NSMutableDictionary, NSString; 14 | 15 | @interface IDEXMLPackageContainer : IDEContainer /**/ 16 | { 17 | IDEGroup *_unarchivingGroup; 18 | NSMutableDictionary *_unarchivingProperties; 19 | IDEDirectoryBasedCustomDataStore *_customDataStore; 20 | DVTMapTable *_unsavedXMLDataForCustomDataStoreSpecifier; 21 | BOOL _hasUnhandledArchiveData; 22 | } 23 | 24 | + (id)containerDataFilePathsForFilePath:(id)arg1; 25 | + (id)xmlArchiveFileName; 26 | + (id)rootElementName; 27 | + (BOOL)supportsFilePersistence; 28 | @property(readonly) BOOL hasUnhandledArchiveData; // @synthesize hasUnhandledArchiveData=_hasUnhandledArchiveData; 29 | @property(retain) IDEDirectoryBasedCustomDataStore *customDataStore; // @synthesize customDataStore=_customDataStore; 30 | //- (void).cxx_destruct; 31 | @property(readonly) float maxSupportedArchiveVersion; 32 | @property(readonly) float archiveVersion; 33 | @property(readonly) NSString *displayName; 34 | - (BOOL)supportsCustomDataForOwnership:(id)arg1; 35 | - (void)moveCustomDataWithSpecifier:(id)arg1 toSpecifier:(id)arg2 completionQueue:(id)arg3 completionBlock:(id)arg4; 36 | - (void)removeCustomDataWithSpecifier:(id)arg1 completionQueue:(id)arg2 completionBlock:(id)arg3; 37 | - (void)writeCustomData:(id)arg1 withSpecifier:(id)arg2 forceOverwrite:(BOOL)arg3 completionQueue:(id)arg4 completionBlock:(id)arg5; 38 | - (id)readCustomDataWithSpecifier:(id)arg1 error:(id *)arg2; 39 | - (id)customDataOwnershipsForGrouping:(id)arg1; 40 | - (id)customDataSpecifiersForGrouping:(id)arg1 ownership:(id)arg2; 41 | - (void)primitiveInvalidate; 42 | - (void)addSpecifier:(id)arg1 inWorkspace:(id)arg2 toSCMWithCompletionBlock:(id)arg3; 43 | - (void)scmStatusForSpecifier:(id)arg1 completionBlock:(id)arg2; 44 | - (void)_handleFilePathDidChange:(id)arg1; 45 | - (BOOL)writeToFilePath:(id)arg1 forceWrite:(BOOL)arg2 error:(id *)arg3; 46 | - (id)_xmlData; 47 | - (BOOL)didReadFromFilePath:(id)arg1 error:(id *)arg2; 48 | - (BOOL)willReadFromFilePath:(id)arg1 error:(id *)arg2; 49 | - (BOOL)readFromFilePath:(id)arg1 error:(id *)arg2; 50 | - (id)initFromXMLUnarchiver:(id)arg1 archiveVersion:(float)arg2; 51 | - (void)customDataStoreClosing:(id)arg1; 52 | - (id)initWithFilePath:(id)arg1 extension:(id)arg2 workspace:(id)arg3 error:(id *)arg4; 53 | - (void)_createCustomDataStore:(id)arg1; 54 | - (id)_archiveFilePathForFilePath:(id)arg1; 55 | - (void)dvt_encodeRelationshipsWithXMLArchiver:(id)arg1 version:(id)arg2; 56 | - (void)dvt_encodeAttributesWithXMLArchiver:(id)arg1 version:(id)arg2; 57 | - (void)dvt_addObject:(id)arg1 fromXMLUnarchiver:(id)arg2; 58 | - (void)dvt_setProperty:(id)arg1 fromUTF8String:(const char *)arg2 fromXMLUnarchiver:(id)arg3; 59 | 60 | // Remaining properties 61 | @property(readonly, copy) NSString *debugDescription; 62 | @property(readonly, copy) NSString *description; 63 | @property(readonly) unsigned long long hash; 64 | @property(readonly) Class superclass; 65 | 66 | @end 67 | 68 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXBuildContext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class NSString, XCBuildOperation, XCPropertyExpansionContext; 10 | 11 | @interface PBXBuildContext : NSObject 12 | { 13 | XCBuildOperation *_currentBuildOperation; 14 | NSString *_baseDirectoryPath; 15 | XCPropertyExpansionContext *_propertyExpansionContext; 16 | } 17 | 18 | - (id)absoluteExpandedPathForString:(id)arg1; 19 | - (id)dictionaryByExpandingEntriesInDictionary:(id)arg1; 20 | - (id)arrayByExpandingEntriesInArray:(id)arg1; 21 | - (BOOL)expandedBooleanValueForString:(id)arg1; 22 | - (BOOL)expandedValueIsNonEmptyForString:(id)arg1; 23 | - (id)expandedValueForString:(id)arg1; 24 | - (void)setPropertyExpansionContext:(id)arg1; 25 | - (id)propertyExpansionContext; 26 | - (void)setLowestTierBuildSettingsDictionaries:(id)arg1; 27 | - (void)setDefaultsTierBuildSettingsDictionaries:(id)arg1; 28 | - (void)popDefaultsTierBuildSettingsDictionary; 29 | - (void)pushDefaultsTierBuildSettingsDictionary:(id)arg1; 30 | - (void)setCustomTierBuildSettingsDictionaries:(id)arg1; 31 | - (void)popCustomTierBuildSettingsDictionary; 32 | - (void)pushCustomTierBuildSettingsDictionary:(id)arg1; 33 | - (void)setHighestTierBuildSettingsDictionaries:(id)arg1; 34 | - (void)setToolParameterTierBuildSettingsDictionaries:(id)arg1; 35 | - (void)popToolParameterTierBuildSettingsDictionary; 36 | - (void)pushToolParameterTierBuildSettingsDictionary:(id)arg1; 37 | - (void)removeAllDynamicSettings; 38 | - (void)appendStringOrStringListValue:(id)arg1 toDynamicSetting:(id)arg2; 39 | - (void)prependStringOrStringListValue:(id)arg1 toDynamicSetting:(id)arg2; 40 | - (void)removeDynamicSetting:(id)arg1; 41 | - (void)setStringValue:(id)arg1 forDynamicSetting:(id)arg2; 42 | - (void)setBaseDirectoryPath:(id)arg1; 43 | - (id)baseDirectoryPath; 44 | - (void)setCurrentBuildOperation:(id)arg1; 45 | - (id)currentBuildOperation; 46 | - (void)dealloc; 47 | - (id)init; 48 | - (id)valueForUndefinedKey:(id)arg1; 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXBuildStyle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXProjectItem.h" 8 | 9 | @class NSString, PBXBuildSettingsDictionary, PBXProject; 10 | 11 | @interface PBXBuildStyle : PBXProjectItem 12 | { 13 | PBXProject *_project; 14 | NSString *_name; 15 | PBXBuildSettingsDictionary *_buildSettings; 16 | } 17 | 18 | + (id)archivableWeakRelationshipsForPListArchiver:(id)arg1; 19 | + (id)archivableRelationships; 20 | + (id)archivableAttributes; 21 | - (long long)compareName:(id)arg1; 22 | - (id)innerDescription; 23 | - (void)removeBuildSettingForKeyPath:(id)arg1; 24 | - (void)setBuildSetting:(id)arg1 forKeyPath:(id)arg2; 25 | - (id)buildSettingForKeyPath:(id)arg1; 26 | - (BOOL)upgradeBuildSettingsFromArchivedObjectVersion:(unsigned long long)arg1; 27 | - (id)readFromPListUnarchiver:(id)arg1; 28 | - (id)gidCommentForArchive; 29 | - (void)_setBuildSettings:(id)arg1; 30 | - (BOOL)buildSettingsDictionaryShouldExtractQuotedBuildSettingsWhenSplitting:(id)arg1; 31 | - (void)buildSettingsDictionary:(id)arg1 didSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 32 | - (id)buildSettingsDictionary:(id)arg1 willSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 33 | - (void)setContainer:(id)arg1; 34 | - (id)container; 35 | - (id)flattenedBuildSettings; 36 | - (void)setBuildSettings:(id)arg1; 37 | - (id)buildSettings; 38 | - (id)_buildSettings; 39 | - (void)_initializeBuildSettingsDictionary; 40 | - (void)setName:(id)arg1; 41 | - (id)name; 42 | - (void)dealloc; 43 | - (id)init; 44 | - (id)initWithName:(id)arg1; 45 | - (void)removeFromAppleScriptBuildSettingsAtIndex:(unsigned long long)arg1; 46 | - (void)insertInAppleScriptBuildSettings:(id)arg1; 47 | - (id)valueInAppleScriptBuildSettingsWithName:(id)arg1; 48 | - (id)appleScriptBuildSettings; 49 | - (id)objectSpecifier; 50 | 51 | @end 52 | 53 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXContainer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXObject.h" 8 | 9 | @class NSDate, NSHashTable, NSMutableDictionary, NSMutableSet, NSString, PBXGroup, PBXGroupEnumerator, PBXHeaderFileEnumerator, XCRezSearchPathFileEnumerator; 10 | 11 | @interface PBXContainer : PBXObject 12 | { 13 | NSString *_path; 14 | NSString *_basePath; 15 | PBXGroup *_rootGroup; 16 | NSMutableDictionary *_perUserDict; 17 | NSString *_resolvedAbsolutePath; 18 | BOOL _invalidatingAbsolutePath; 19 | PBXGroupEnumerator *_enumerator; 20 | PBXHeaderFileEnumerator *_cachedHeaderFileEnumerator; 21 | XCRezSearchPathFileEnumerator *_cachedRezSearchPathFileEnumerator; 22 | NSMutableDictionary *_pathToRefCache; 23 | NSMutableDictionary *_fileNameToRefCache; 24 | NSDate *_modTime; 25 | NSMutableSet *_containedGlobalIDs; 26 | NSHashTable *_references; 27 | } 28 | 29 | + (id)_cacheStats; 30 | + (void)removeContainerForResolvedAbsolutePath:(id)arg1; 31 | + (void)setContainer:(id)arg1 forResolvedAbsolutePath:(id)arg2; 32 | + (id)containerForResolvedAbsolutePath:(id)arg1; 33 | - (void)removePerUserDictionaryObjectForKey:(id)arg1; 34 | - (void)setPerUserDictionaryObject:(id)arg1 forKey:(id)arg2; 35 | - (id)perUserDictionaryObjectForKey:(id)arg1; 36 | - (void)_setPerUserDictionary:(id)arg1; 37 | - (id)perUserDictionary; 38 | - (id)innerLongDescriptionWithIndentLevel:(unsigned long long)arg1; 39 | - (id)innerDescription; 40 | - (void)printContainedItems; 41 | - (void)removeItem:(id)arg1; 42 | - (void)addItem:(id)arg1; 43 | - (id)itemForGlobalIDHexString:(id)arg1; 44 | - (id)itemForGlobalID:(id)arg1; 45 | - (id)itemsOfFileType:(id)arg1; 46 | - (id)fileReferenceForPartialPath:(id)arg1; 47 | - (id)fileReferencesForPartialFileName:(id)arg1 ofTypes:(id)arg2 ignoringCase:(BOOL)arg3; 48 | - (id)fileReferenceForFileName:(id)arg1; 49 | - (id)fileReferenceForFileName:(id)arg1 ignoringCase:(BOOL)arg2; 50 | - (id)fileReferenceForPath:(id)arg1; 51 | - (id)allFileReferencesForFileName:(id)arg1; 52 | - (void)uncacheFileReference:(id)arg1 atResolvedAbsolutePath:(id)arg2; 53 | - (void)cacheFileReference:(id)arg1 atResolvedAbsolutePath:(id)arg2; 54 | - (id)rezSearchPathFileEnumerator; 55 | - (id)headerFileEnumerator; 56 | - (id)groupEnumerator; 57 | - (void)_clearGroupEnumerator; 58 | - (id)rootGroup; 59 | - (void)_setRootGroup:(id)arg1; 60 | - (id)modTime; 61 | - (id)resolvedAbsolutePath; 62 | - (id)absolutePath; 63 | - (id)name; 64 | - (void)setPath:(id)arg1; 65 | - (id)path; 66 | - (BOOL)allowsEditingOfChildren; 67 | - (BOOL)isReadOnly; 68 | - (void)invalidateAbsolutePathCache; 69 | - (void)validateChildren; 70 | - (id)children; 71 | - (void)removeReference:(id)arg1; 72 | - (void)addReference:(id)arg1; 73 | - (id)references; 74 | - (void)dealloc; 75 | - (id)init; 76 | - (void)appendUserSettingsDictionariesTo:(id)arg1 defaultSettingsDictionariesTo:(id)arg2; 77 | - (void)appendUserSettingsDictionariesTo:(id)arg1 defaultSettingsDictionariesTo:(id)arg2 forBuildConfigurationNamed:(id)arg3; 78 | - (id)stringByMakingExpandedPathAbsolute:(id)arg1; 79 | - (id)stringByExpandingString:(id)arg1; 80 | - (id)stringByExpandingString:(id)arg1 forBuildConfigurationNamed:(id)arg2; 81 | - (id)containerItemForBuildInfoEntityIdentifier:(id)arg1; 82 | - (id)valueInFileReferencesWithUniqueID:(id)arg1; 83 | - (id)valueInItemReferencesWithUniqueID:(id)arg1; 84 | - (id)valueInGroupsWithUniqueID:(id)arg1; 85 | - (id)itemsInArray:(id)arg1 withClass:(Class)arg2; 86 | - (id)allFileReferences; 87 | - (id)allGroups; 88 | - (id)allReferences; 89 | - (id)allItemsOfClass:(Class)arg1; 90 | - (id)allItems; 91 | 92 | @end 93 | 94 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXContainerItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXObject.h" 8 | 9 | //#import "PBXChangeNotification-Protocol.h" 10 | 11 | @class NSMutableDictionary, NSString; 12 | 13 | @interface PBXContainerItem : PBXObject /**/ 14 | { 15 | NSString *_comments; 16 | NSMutableDictionary *_uiContext; 17 | } 18 | 19 | + (id)archiveNameForKey:(id)arg1; 20 | + (id)archivableUserAttributes; 21 | + (id)archivableAttributes; 22 | - (BOOL)shouldArchiveUserInterfaceContext; 23 | - (BOOL)shouldArchiveComments; 24 | - (void)removeObjectForUserInterfaceContextKey:(id)arg1; 25 | - (void)setObject:(id)arg1 forUserInterfaceContextKey:(id)arg2; 26 | - (id)objectForUserInterfaceContextKey:(id)arg1; 27 | - (void)setUserInterfaceContext:(id)arg1; 28 | - (id)userInterfaceContext; 29 | - (void)willChangeWithArchivePriority:(int)arg1; 30 | - (void)willChange; 31 | - (int)changeMask; 32 | - (void)setContainer:(id)arg1; 33 | - (id)container; 34 | - (void)setProject:(id)arg1; 35 | - (id)project; 36 | - (id)comments; 37 | - (void)setComments:(id)arg1; 38 | - (void)dealloc; 39 | - (id)copyWithZone:(struct _NSZone *)arg1 getUnretainedObjectMappings:(id *)arg2; 40 | - (id)init; 41 | - (void)handleMoveCommand:(id)arg1; 42 | 43 | @end 44 | 45 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXFrameworksBuildPhase.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXBuildPhase.h" 8 | 9 | @interface PBXFrameworksBuildPhase : PBXBuildPhase 10 | { 11 | } 12 | 13 | + (id)allowedFileTypes; 14 | + (id)defaultName; 15 | + (id)identifier; 16 | - (Class)dependencyGraphSnapshotClass; 17 | - (id)primaryAttributeForBuildFile:(id)arg1; 18 | - (BOOL)insertBuildFiles:(id)arg1 atIndex:(unsigned long long)arg2; 19 | - (id)_pathUsingLibraryDirectoryVariableForPath:(id)arg1; 20 | - (id)_libraryFileExtensions; 21 | - (id)_implicitLibrarySearchPaths; 22 | - (id)_implicitFrameworkSearchPaths; 23 | - (void)findFeaturesInUseAndAddToSet:(id)arg1 usingPathPrefix:(id)arg2; 24 | 25 | @end 26 | 27 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import 8 | 9 | @class PBXGlobalID; 10 | 11 | @interface PBXObject : NSObject 12 | { 13 | PBXGlobalID *_globalID; 14 | } 15 | 16 | + (id)longDescription; 17 | + (id)innerLongDescriptionWithIndentLevel:(unsigned long long)arg1; 18 | + (id)description; 19 | + (id)innerDescription; 20 | + (void)setChangeNotificationsEnabled:(BOOL)arg1; 21 | + (BOOL)changeNotificationsEnabled; 22 | + (BOOL)relationshipIsWeak:(id)arg1 forPListArchiver:(id)arg2; 23 | + (BOOL)hasUserKeys; 24 | + (id)archiveNameForKey:(id)arg1; 25 | + (id)archivableKeysToBeSkippedByPListArchiver:(id)arg1; 26 | + (id)archivableWeakRelationshipsForPListArchiver:(id)arg1; 27 | + (id)archivableUserRelationships; 28 | + (id)archivableUserAttributes; 29 | + (id)archivableRelationships; 30 | + (id)archivableAttributes; 31 | + (void)_clearFallbackClassNameCache:(id)arg1; 32 | + (id)_classNameToFallbackClassNameDict; 33 | - (void)appendSpotlightDescriptionToString:(id)arg1; 34 | - (id)longDescription; 35 | - (id)innerLongDescriptionWithIndentLevel:(unsigned long long)arg1; 36 | - (id)description; 37 | - (id)innerDescription; 38 | - (void)willChange; 39 | - (void)awakeFromPListUnarchiver:(id)arg1; 40 | - (id)readUserSettingsFromPListUnarchiver:(id)arg1; 41 | - (id)readFromPListUnarchiver:(id)arg1; 42 | - (void)writeUserSettingsToPListArchiver:(id)arg1; 43 | - (void)writeToPListArchiver:(id)arg1; 44 | - (void)_unarchiveValuesForArchiveMask:(int)arg1 fromPListUnarchiver:(id)arg2; 45 | - (void)_archiveValuesForArchiveMask:(int)arg1 toPListArchiver:(id)arg2; 46 | - (id)fallbackClassNameForPListArchive; 47 | - (id)gidCommentForArchive; 48 | - (id)classNameForPListArchive; 49 | - (id)globalID; 50 | - (id)globalIDCreateIfNeeded:(BOOL)arg1; 51 | - (void)dealloc; 52 | - (id)copyWithZone:(struct _NSZone *)arg1; 53 | - (id)copyWithZone:(struct _NSZone *)arg1 getUnretainedObjectMappings:(id *)arg2; 54 | - (id)init; 55 | - (SEL)selectorForArchiveMask:(int)arg1; 56 | - (void)_setUnarchivedGlobalIDFromHexString:(id)arg1; 57 | - (id)appleScriptID; 58 | 59 | @end 60 | 61 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/PBXProjectItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXContainerItem.h" 8 | 9 | @interface PBXProjectItem : PBXContainerItem 10 | { 11 | } 12 | 13 | @end 14 | 15 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/XCBuildConfiguration.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXBuildStyle.h" 8 | 9 | //#import "XCCompatibilityChecking-Protocol.h" 10 | //#import "XCFileSystemWatcherRegisteredObject-Protocol.h" 11 | 12 | @class NSDate, NSMutableArray, NSSet, NSString, PBXBuildSettingsDictionary, PBXFileReference, XCFileSystemNode; 13 | 14 | @interface XCBuildConfiguration : PBXBuildStyle /**/ 15 | { 16 | id _owner; 17 | BOOL _isHidden; 18 | PBXFileReference *_baseConfigurationReference; 19 | XCBuildConfiguration *_cachedBaseConfiguration; 20 | XCFileSystemNode *_cachedBaseConfigurationFileNode; 21 | PBXBuildSettingsDictionary *_cachedBaseConfigurationProperties; 22 | NSMutableArray *_cachedBaseConfigurationLoadErrors; 23 | NSDate *_baseConfigurationLastParsedTime; 24 | NSSet *_watchedBaseConfigurationFiles; 25 | } 26 | 27 | + (id)archivableWeakRelationshipsForPListArchiver:(id)arg1; 28 | + (id)archivableRelationships; 29 | + (BOOL)fileReference:(id)arg1 isValidBaseConfigurationFile:(id *)arg2; 30 | + (id)buildConfigurationWithName:(id)arg1 settings:(id)arg2; 31 | - (void)findFeaturesInUseAndAddToSet:(id)arg1 usingPathPrefix:(id)arg2; 32 | - (void)_findBuildSettingNamed:(id)arg1 inSettingsDict:(id)arg2 andAddToSet:(id)arg3 forFeature:(id)arg4 usingPathPrefix:(id)arg5; 33 | - (void)_findSettingsForConditionFlavor:(id)arg1 inSettingsDict:(id)arg2 andAddToSet:(id)arg3 forFeature:(id)arg4 usingPathPrefix:(id)arg5; 34 | - (void)convertGccVersionToBuildRuleForSetting:(id)arg1; 35 | - (void)removePrefixAndSuffixFromSetting:(id)arg1; 36 | - (void)_unarchiverDidFinishUnarchiving:(id)arg1; 37 | - (void)awakeFromPListUnarchiver:(id)arg1; 38 | - (void)fileSystemWatcher:(id)arg1 notedChangeAtPath:(id)arg2 scanRecursively:(BOOL)arg3; 39 | - (void)fileSystemWatcherWillClose:(id)arg1; 40 | - (void)referenceWillBeRemoved:(id)arg1; 41 | - (void)invalidateCaches; 42 | - (void)baseConfigurationReferenceChangedForConfigurationNamed:(id)arg1; 43 | - (id)baseBuildConfigurationReferenceLoadErrors; 44 | - (id)parseBaseBuildConfigurationReferenceReturningErrors:(id *)arg1; 45 | - (void)_addToCachedBaseConfigurationLoadErrors:(id)arg1; 46 | - (void)setBaseConfigurationReference:(id)arg1; 47 | - (id)baseConfigurationReference; 48 | - (void)_baseConfigurationFilesChanged; 49 | - (void)_stopWatchingBaseConfigurationFiles; 50 | - (void)_startWatchingBaseConfigurationFiles; 51 | - (BOOL)buildSettingsDictionaryShouldExtractQuotedBuildSettingsWhenSplitting:(id)arg1; 52 | - (void)buildSettingsDictionary:(id)arg1 didSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 53 | - (id)buildSettingsDictionary:(id)arg1 willSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 54 | - (id)flattenedBuildSettings; 55 | - (id)buildSettingDictionariesAndGetErrors:(id *)arg1; 56 | - (id)baseBuildConfiguration; 57 | - (BOOL)couldBeActive; 58 | - (void)setHidden:(BOOL)arg1; 59 | - (BOOL)isHidden; 60 | - (id)inspectorDisplayName; 61 | - (id)project; 62 | - (id)container; 63 | - (void)_setOwner:(id)arg1; 64 | - (id)owner; 65 | - (void)appendSpotlightDescriptionToString:(id)arg1; 66 | - (void)dealloc; 67 | - (id)initWithName:(id)arg1; 68 | - (void)setAppleScriptConfigurationSettingsFile:(id)arg1; 69 | - (id)appleScriptConfigurationSettingsFile; 70 | - (id)buildConfigurationType; 71 | - (id)appleScriptFlattenedBuildSettings; 72 | - (id)appleScriptBaseBuildSettings; 73 | - (id)appleScriptBuildSettings; 74 | - (id)objectSpecifier; 75 | 76 | // Remaining properties 77 | @property(readonly, copy) NSString *debugDescription; 78 | @property(readonly, copy) NSString *description; 79 | @property(readonly) unsigned long long hash; 80 | @property(readonly) Class superclass; 81 | 82 | @end 83 | 84 | -------------------------------------------------------------------------------- /JSPatchX/XCHeaders/XCConfigurationList.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by class-dump 3.3.4 (64 bit). 3 | * 4 | * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. 5 | */ 6 | 7 | #import "PBXProjectItem.h" 8 | 9 | //#import "XCCompatibilityChecking-Protocol.h" 10 | 11 | @class NSMutableArray, NSString; 12 | 13 | @interface XCConfigurationList : PBXProjectItem /**/ 14 | { 15 | NSMutableArray *_buildConfigurations; 16 | id _owner; 17 | NSString *_defaultConfigurationName; 18 | BOOL _defaultConfigurationIsVisible; 19 | } 20 | 21 | + (id)archivableAttributes; 22 | + (id)archivableRelationships; 23 | + (id)configurationListWithConfigurations:(id)arg1; 24 | - (void)findFeaturesInUseAndAddToSet:(id)arg1 usingPathPrefix:(id)arg2; 25 | - (BOOL)buildSettingsDictionaryShouldExtractQuotedBuildSettingsWhenSplitting:(id)arg1; 26 | - (void)buildSettingsDictionary:(id)arg1 didSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 27 | - (id)buildSettingsDictionary:(id)arg1 willSetValue:(id)arg2 withOperation:(int)arg3 forKeyPath:(id)arg4; 28 | - (id)localBuildSettingsDictionariesForAllConfigurations; 29 | - (id)flattenedBuildSettingDictionaryForConfigurationName:(id)arg1; 30 | - (id)buildSettingDictionariesForConfigurationName:(id)arg1 errors:(id *)arg2; 31 | - (void)baseConfigurationReferenceChangedForConfigurationNamed:(id)arg1; 32 | - (id)effectiveBuildConfigurationForName:(id)arg1; 33 | - (id)buildConfigurationForName:(id)arg1; 34 | - (BOOL)buildConfigurationExistsForName:(id)arg1; 35 | - (void)moveBuildConfigurationsAtIndexes:(id)arg1 toIndex:(unsigned long long)arg2; 36 | - (void)removeObjectFromBuildConfigurationsAtIndex:(unsigned long long)arg1; 37 | - (void)addBuildConfiguration:(id)arg1; 38 | - (void)insertObject:(id)arg1 inBuildConfigurationsAtIndex:(unsigned long long)arg2; 39 | - (id)buildConfigurationNames; 40 | - (unsigned long long)countOfBuildConfigurations; 41 | - (void)referenceWillBeRemoved:(id)arg1; 42 | - (void)invalidateCaches; 43 | - (id)container; 44 | - (id)gidCommentForArchive; 45 | - (void)_setBuildConfigurations:(id)arg1; 46 | - (id)defaultConfiguration; 47 | - (void)setDefaultConfigurationIsVisible:(BOOL)arg1; 48 | - (BOOL)defaultConfigurationIsVisible; 49 | - (void)setDefaultConfigurationName:(id)arg1; 50 | - (id)defaultConfigurationName; 51 | - (void)_setOwner:(id)arg1; 52 | - (id)owner; 53 | - (id)baseConfigurationList; 54 | - (id)buildConfigurations; 55 | - (void)appendSpotlightDescriptionToString:(id)arg1; 56 | - (void)dealloc; 57 | - (id)copyWithZone:(struct _NSZone *)arg1; 58 | - (id)init; 59 | - (id)initWithConfigurations:(id)arg1; 60 | 61 | @end 62 | 63 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 bang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README-CN.md: -------------------------------------------------------------------------------- 1 | # JSPatchX 2 | 3 | [JSPatch](https://github.com/bang590/JSPatch) XCode 代码自动补全插件。 4 | 5 | ![Screenshot](https://raw.github.com/bang590/JSPatchX/master/Resource/Screenshot.gif) 6 | 7 | ## 安装 8 | 9 | ### Alcatraz 10 | 11 | 可以通过 [Alcatraz](http://alcatraz.io/) 安装,直接搜索 `JSPatchX`。 12 | 13 | XCode8+ 用户需要去掉 xcode 签名才可以使用,详见 http://www.jianshu.com/p/dc2fc2a680fc 。 14 | 15 | ### 手工安装 16 | 17 | 下载插件:[JSPatchX.zip](https://raw.github.com/bang590/JSPatchX/master/Resource/JSPatchX.zip),解压后把 `JSPatchX.xcplugin` 文件放到 /Users/用户名/Library/Application Support/Developer/Shared/Xcode/Plug-ins 目录下(没有这个目录就创建)。重启 XCode 即可。 18 | 19 | XCode8 以上用户请使用 Alcatraz 安装。 20 | 21 | ## 使用 22 | 23 | 1. 在 XCode 里编辑 JS 文件会触发插件自动补全功能,编辑其他文件不影响 24 | 2. 为了使写出来的 JS 格式不乱,建议关掉 XCode 对 ":" 的缩进:XCode -> Preferences -> Text Editing -> indentation -> Automatic indent for -> 去掉 ":" 的勾。 25 | 26 | ## 关于 27 | 28 | 本插件初版由 [@bang](https://github.com/bang590) 和 [@louis](https://github.com/gabailey) 开发。 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JSPatchX [![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) 2 | 3 | [中文介绍](https://github.com/bang590/JSPatchX/blob/master/README-CN.md) 4 | 5 | XCode plugin that provides autocompletion for [JSPatch](https://github.com/bang590/JSPatch). 6 | 7 | ![Screenshot](https://raw.github.com/bang590/JSPatchX/master/Resource/Screenshot.gif) 8 | 9 | ## Installation 10 | 11 | ### Alcatraz 12 | 13 | This plugin can be installed using [Alcatraz](http://alcatraz.io/). Search for `JSPatchX` in Alcatraz. 14 | 15 | ### Manually 16 | 17 | Download the plugin: [JSPatchX.zip](https://raw.github.com/bang590/JSPatchX/master/Resource/JSPatchX.zip), unzip it and put `JSPatchX.xcplugin` to `/Users/{YourUserName}/Library/Application Support/Developer/Shared/Xcode/Plug-ins` (create it if not exists), restart XCode. 18 | 19 | ## Usage 20 | 21 | 1. The plugin will run while editing JS file in XCode, it take no effect when editing other types of file. 22 | 2. Recommend to turn off the indentation of ":" : `XCode -> Preferences -> Text Editing -> indentation -> Automatic indent for -> turn off ":"` 23 | 24 | ## License 25 | 26 | To know more about the [LICENSE](LICENSE) agreement. 27 | 28 | ## About 29 | 30 | Code by [@bang](https://github.com/bang590) & [@louis](https://github.com/gabailey) 31 | -------------------------------------------------------------------------------- /Resource/JSPatchX.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bang590/JSPatchX/e097558b4f1b3a32cb8720225f4d919af19e18b9/Resource/JSPatchX.zip -------------------------------------------------------------------------------- /Resource/Screenshot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bang590/JSPatchX/e097558b4f1b3a32cb8720225f4d919af19e18b9/Resource/Screenshot.gif --------------------------------------------------------------------------------