Version 1.0.0-0

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

Superclass
NSObject

+ completionResultWithCXCompletionString:cursorKind: Top

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: Top

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: Top

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 Top

The completion chunks (an array of CKCompletionChunk objects)

@property( atomic, readonly ) NSArray * chunks;

cursorKind Top

The completion result's cursor kind

@property( atomic, readonly ) CKCursorKind cursorKind;

string Top

The completion result's text

@property( atomic, readonly ) CXCompletionString * string;