Interface ICodeCompleteResults
Unit
Neslib.Clang
Declaration
type ICodeCompleteResults = interface(IInterface)
Description
Contains the results of code-completion.
Attributes
- GUID['{0CCB125C-8793-4038-9F96-8063BFC6FEDD}']
Hierarchy
- IInterface
- ICodeCompleteResults
Overview
Methods
Properties
Description
Methods
 |
function GetCount: Integer; |
|
 |
function GetDiagnosticCount: Integer; |
|
 |
function GetDiagnostic(const AIndex: Integer): IDiagnostic; |
|
 |
function GetContexts: UInt64; |
|
 |
function GetContainerComplete: Boolean; |
|
 |
function GetObjCSelector: String; |
|
 |
function GetHandle: PCXCodeCompleteResults; |
|
Properties
 |
property DiagnosticCount: Integer read GetDiagnosticCount; |
The number of diagnostics produced prior to the location where code completion was performed.
|
 |
property Diagnostics[constAIndex:Integer]: IDiagnostic read GetDiagnostic; |
The diagnostics produced prior to the location where code completion was performed.
|
 |
property Contexts: UInt64 read GetContexts; |
The kinds of completions that are appropriate for use along with the code completion results.
|
 |
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.
|
 |
property ContainerComplete: Boolean read GetContainerComplete; |
Whether Clang has complete information about the container for the current code completion context.
|
 |
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.
|
 |
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.
|
 |
property Handle: PCXCodeCompleteResults read GetHandle; |
Internal handle to C API
|
Generated by PasDocEx, based on PasDoc 0.14.0.
|