C# Class AGS.Editor.AutoComplete

Mostra file Open project: adventuregamestudio/ags Class Usage Examples

Public Methods

Method Description
ConstructCache ( Script scriptToCache ) : void
GetLocalVariableDeclarationsFromScriptExtract ( string scriptToParse, int relativeCharacterIndex ) : List
RequestBackgroundCacheUpdate ( Script scriptToUpdate ) : void

Private Methods

Method Description
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

Method Details

ConstructCache() public static method

public static ConstructCache ( Script scriptToCache ) : void
scriptToCache Script
return void

GetLocalVariableDeclarationsFromScriptExtract() public static method

public static GetLocalVariableDeclarationsFromScriptExtract ( string scriptToParse, int relativeCharacterIndex ) : List
scriptToParse string
relativeCharacterIndex int
return List

RequestBackgroundCacheUpdate() public static method

public static RequestBackgroundCacheUpdate ( Script scriptToUpdate ) : void
scriptToUpdate Script
return void