Interface IIndexerListener
Unit
Neslib.Clang
Declaration
type IIndexerListener = interface(IInterface)
Description
A group of callbacks used by IIndexAction.IndexSourceFile and IIndexAction.IndexTranslationUnit. Implement this interface to provide these callbacks.
Attributes
- GUID['{D585B3D2-E1AC-4E0D-A7FE-FF21DED1F7DB}']
Hierarchy
- IInterface
- IIndexerListener
Overview
Methods
Description
Methods
 |
function AbortQuery(const AReserved: Pointer): Boolean; |
Called periodically to check whether indexing should be aborted. Should return False to continue, and True to abort.
|
 |
procedure Diagnostic(const ADiagnostics: IDiagnosticSet; const AReserved: Pointer); |
Called at the end of indexing; passes the complete diagnostic set.
|
 |
function ImportedAstFile(const AInfo: TIdxImportedAstFileInfo): TIdxClientFile; |
Called when a AST file (PCH or module) gets imported.
AST files will not get indexed (there will not be callbacks to index all the entities in an AST file). The recommended action is that, if the AST file is not already indexed, to initiate a new indexing job specific to the AST file.
|
 |
function StartedTranslationUnit(const AReserved: Pointer): TIdxClientContainer; |
Called at the beginning of indexing a translation unit.
|
 |
procedure IndexEntityReference(const AInfo: TIdxEntityRefInfo); |
Called to index a reference of an entity.
|
Generated by PasDocEx, based on PasDoc 0.14.0.
|