Interface ICodeCompleteResults

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type ICodeCompleteResults = interface(IInterface)

Description

Contains the results of code-completion.

Attributes
GUID['{0CCB125C-8793-4038-9F96-8063BFC6FEDD}']

Hierarchy

  • IInterface
  • ICodeCompleteResults

Overview

Methods

Public function GetCount: Integer;
Public function GetResult(const AIndex: Integer): TCompletionResult;
Public function GetDiagnosticCount: Integer;
Public function GetDiagnostic(const AIndex: Integer): IDiagnostic;
Public function GetContexts: UInt64;
Public function GetContainerKind: TCursorKind;
Public function GetContainerComplete: Boolean;
Public function GetContainerUsr: TUnifiedSymbolResolution;
Public function GetObjCSelector: String;
Public function GetHandle: PCXCodeCompleteResults;

Properties

Public property Count: Integer read GetCount;
Public property Results[constAIndex:Integer]: TCompletionResult read GetResult;
Public property DiagnosticCount: Integer read GetDiagnosticCount;
Public property Diagnostics[constAIndex:Integer]: IDiagnostic read GetDiagnostic;
Public property Contexts: UInt64 read GetContexts;
Public property ContainerKind: TCursorKind read GetContainerKind;
Public property ContainerComplete: Boolean read GetContainerComplete;
Public property ContainerUsr: TUnifiedSymbolResolution read GetContainerUsr;
Public property ObjCSelector: String read GetObjCSelector;
Public property Handle: PCXCodeCompleteResults read GetHandle;

Description

Methods

Public function GetCount: Integer;
 
Public function GetResult(const AIndex: Integer): TCompletionResult;
 
Public function GetDiagnosticCount: Integer;
 
Public function GetDiagnostic(const AIndex: Integer): IDiagnostic;
 
Public function GetContexts: UInt64;
 
Public function GetContainerKind: TCursorKind;
 
Public function GetContainerComplete: Boolean;
 
Public function GetContainerUsr: TUnifiedSymbolResolution;
 
Public function GetObjCSelector: String;
 
Public function GetHandle: PCXCodeCompleteResults;
 

Properties

Public property Count: Integer read GetCount;

Number of code completion results

Public property Results[constAIndex:Integer]: TCompletionResult read GetResult;

Code completion results

Public property DiagnosticCount: Integer read GetDiagnosticCount;

The number of diagnostics produced prior to the location where code completion was performed.

Public property Diagnostics[constAIndex:Integer]: IDiagnostic read GetDiagnostic;

The diagnostics produced prior to the location where code completion was performed.

Public property Contexts: UInt64 read GetContexts;

The kinds of completions that are appropriate for use along with the code completion results.

Public property ContainerKind: TCursorKind read GetContainerKind;

The cursor kind for the container for the current code completion context. The container is only guaranteed to be set for contexts where a container exists (i.e. member accesses or Objective-C message sends); if there is not a container, this function will return InvalidCode.

Public property ContainerComplete: Boolean read GetContainerComplete;

Whether Clang has complete information about the container for the current code completion context.

Public property ContainerUsr: TUnifiedSymbolResolution read GetContainerUsr;

The USR for the container for the current code completion context. If there is not a container for the current context, this function will return the empty string.

Public property ObjCSelector: String read GetObjCSelector;

The currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for ObjCInstanceMessage and ObjCClassMessage.

Public property Handle: PCXCodeCompleteResults read GetHandle;

Internal handle to C API


Generated by PasDocEx, based on PasDoc 0.14.0.