CKCompletionChunk Reference

File
ClangKit/Classes/CKCompletionChunk.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
Includes
None

Overview

ClangKit completion chunk class

Class CKCompletionChunk

Attributes

Superclass
NSObject

+ completionChunkWithCXCompletionString:chunkNumber:

Gets a completion chunk from a completion string

+ ( id )completionChunkWithCXCompletionString: ( CXCompletionString )string chunkNumber: ( NSUInteger )chunkNumber;

Discussion

The returned object is autoreleased.

Parameters
  • string
    The completion string
  • chunkNumber
    The chunk number
Return value

The completion chunk object

- initWithCXCompletionString:chunkNumber:

Initializes a completion chunk from a completion string

- ( id )initWithCXCompletionString: ( CXCompletionString )string chunkNumber: ( NSUInteger )chunkNumber;

Parameters
  • string
    The completion string
  • chunkNumber
    The chunk number
Return value

The completion chunk object

kind

The completion chunk's kind

@property( atomic, readonly ) CKCompletionChunkKind kind;

text

The completion chunk's text

@property( atomic, readonly ) NSString * text;

Types

CKCompletionChunkKind

Completion chunk kind

typedef NSUInteger CKCompletionChunkKind;

Globals

CKCompletionChunkKindColon

Completion chunk kind - Colon

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindColon;

CKCompletionChunkKindComma

Completion chunk kind - Comma

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindComma;

CKCompletionChunkKindCurrentParameter

Completion chunk kind - Current parameter

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindCurrentParameter;

CKCompletionChunkKindEqual

Completion chunk kind - Equal

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindEqual;

CKCompletionChunkKindHorizontalSpace

Completion chunk kind - Horizontal space

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindHorizontalSpace;

CKCompletionChunkKindInformative

Completion chunk kind - Informative

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindInformative;

CKCompletionChunkKindLeftAngle

Completion chunk kind - Left angle

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindLeftAngle;

CKCompletionChunkKindLeftBrace

Completion chunk kind - Left brace

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindLeftBrace;

CKCompletionChunkKindLeftBracket

Completion chunk kind - Left bracket

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindLeftBracket;

CKCompletionChunkKindLeftParen

Completion chunk kind - Left parenthesis

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindLeftParen;

CKCompletionChunkKindOptional

Completion chunk kind - Optional

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindOptional;

CKCompletionChunkKindPlaceholder

Completion chunk kind - Placeholder

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindPlaceholder;

CKCompletionChunkKindResultType

Completion chunk kind - Result type

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindResultType;

CKCompletionChunkKindRightAngle

Completion chunk kind - Right angle

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindRightAngle;

CKCompletionChunkKindRightBrace

Completion chunk kind - Right brace

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindRightBrace;

CKCompletionChunkKindRightBracket

Completion chunk kind - Right bracket

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindRightBracket;

CKCompletionChunkKindRightParen

Completion chunk kind - Right parenthesis

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindRightParen;

CKCompletionChunkKindSemiColon

Completion chunk kind - Semi colon

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindSemiColon;

CKCompletionChunkKindText

Completion chunk kind - Text

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindText;

CKCompletionChunkKindTypedText

Completion chunk kind - Typed text

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindTypedText;

CKCompletionChunkKindVerticalSpace

Completion chunk kind - Vertical space

FOUNDATION_EXPORT CKCompletionChunkKind CKCompletionChunkKindVerticalSpace;