CKFixIt Reference
File
ClangKit/Classes/CKFixIt.h
Author
Jean-David Gadina - www.xs-labs.com
Copyright
© (c) 2010-2014 - Jean-David Gadina - www.xs-labs.com
Date
Wednesday, June 25, 2014
Overview
ClangKit fix-it class
Class CKFixIt
Attributes
+ fixItsForDiagnostic:
Gets fix-it objects from a diagnostic object
+ ( NSArray * )fixItsForDiagnostic: ( CKDiagnostic * )diagnostic;
Parameters
- diagnostic
The diagnostic object
Return value
An array of fix-it objects
+ fixItWithDiagnostic:index:
Gets a fix-it object from a diagnostic object
+ ( id )fixItWithDiagnostic: ( CKDiagnostic * )diagnostic
index: ( NSUInteger )index;
Discussion
The returned object is autoreleased.
Parameters
- diagnostic
The diagnostic object
- index
The index
Return value
The fix-it object
- initWithDiagnostic:index:
Initializes a fix-it object with a diagnostic object
- ( id )initWithDiagnostic: ( CKDiagnostic * )diagnostic
index: ( NSUInteger )index;
Parameters
- diagnostic
The diagnostic object
- index
The index
Return value
The fix-it object
range
The fix-it's range
@property( atomic,
readonly ) NSRange range;
string
The fix-it's string
@property( atomic,
readonly ) NSString * string;