C# Класс AGS.Editor.AutoComplete

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConstructCache ( Script scriptToCache ) : void
GetLocalVariableDeclarationsFromScriptExtract ( string scriptToParse, int relativeCharacterIndex ) : List
RequestBackgroundCacheUpdate ( Script scriptToUpdate ) : void

Приватные методы

Метод Описание
AddEnumValue ( ScriptEnum insideEnumDefinition, FastString script, string lastWord ) : void
AddFunctionDeclaration ( List functions, FastString &script, string thisWord, AGS.Editor.AutoCompleteParserState state, bool isExtenderMethod, bool isStatic, bool isStaticOnly ) : bool
AddVariableDeclaration ( List variables, FastString &script, string thisWord, AGS.Editor.AutoCompleteParserState state ) : void
AdjustFunctionListForExtenderFunction ( List structs, List &functionList, FastString &script ) : void
AutoComplete ( ) : System
ConstructCache ( Script scriptToCache, bool isBackgroundThread ) : void
CreateInheritedStruct ( ScriptStruct baseStruct, AGS.Editor.AutoCompleteParserState state ) : ScriptStruct
DoesCurrentLineHaveToken ( FastString script, string tokenToCheckFor ) : bool
GetNextWord ( FastString &script ) : string
GoToNextLine ( FastString &script ) : void
IncrementIndexToSkipAnyComments ( FastString script, int &index ) : bool
OnBackgroundCacheUpdateStatusChanged ( BackgroundAutoCompleteStatus status, Exception errorDetails ) : void
PeekNextWord ( FastString script ) : string
ProcessPreProcessorDirective ( List defines, FastString &script, AGS.Editor.AutoCompleteParserState state ) : void
SkipUntilMatchingClosingBrace ( FastString &script ) : void
SkipWhitespace ( FastString &script ) : void
UpdateAutocompleteCacheThread ( ) : void

Описание методов

ConstructCache() публичный статический метод

public static ConstructCache ( Script scriptToCache ) : void
scriptToCache Script
Результат void

GetLocalVariableDeclarationsFromScriptExtract() публичный статический метод

public static GetLocalVariableDeclarationsFromScriptExtract ( string scriptToParse, int relativeCharacterIndex ) : List
scriptToParse string
relativeCharacterIndex int
Результат List

RequestBackgroundCacheUpdate() публичный статический метод

public static RequestBackgroundCacheUpdate ( Script scriptToUpdate ) : void
scriptToUpdate Script
Результат void