CKCompletionResult Reference
File
ClangKit/Classes/CKCompletionResult.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 completion result class
Class CKCompletionResult
Attributes
+ completionResultWithCXCompletionString:cursorKind:
Gets a completion result from a completion string
+ ( id )completionResultWithCXCompletionString: ( CXCompletionString )string
cursorKind: ( CKCursorKind )cursorKind;
Discussion
The returned object is autoreleased.
Parameters
- string
The completion string
- cursorKind
The cursor kind
Return value
The completion result object
- initWithCXCompletionString:
Initializes a completion result from a completion string
- ( id )initWithCXCompletionString: ( CXCompletionString )string
cursorKind: ( CKCursorKind )cursorKind;
Parameters
- string
The completion string
- cursorKind
The cursor kind
Return value
The completion result object
- initWithCXCompletionString:cursorKind:
Initializes a completion result from a completion string
- ( id )initWithCXCompletionString: ( CXCompletionString )string
cursorKind: ( CKCursorKind )cursorKind;
Parameters
- string
The completion string
- cursorKind
The cursor kind
chunks
The completion chunks (an array of CKCompletionChunk objects)
@property( atomic,
readonly ) NSArray * chunks;
cursorKind
The completion result's cursor kind
@property( atomic,
readonly ) CKCursorKind cursorKind;
string
The completion result's text
@property( atomic,
readonly ) CXCompletionString * string;