C# Class MySql.Data.VisualStudio.MySqlCompletionSource

Inheritance: ICompletionSource
ファイルを表示 Open project: Top-Cat/SteamBot

Public Methods

Method Description
Dispose ( ) : void
MySqlCompletionSource ( MySqlCompletionSourceProvider sourceProvider, ITextBuffer textBuffer ) : System

Private Methods

Method Description
BuildColumnList ( DbDataReader r, bool IncludeDb ) : List>.Dictionary
BuildWhereGetColumns ( string database, string sql, List tables, bool &hasDbExplicit ) : string
CreateCompletionList ( List l, ICompletionSession session, IList completionSets ) : void
FindStmt ( ITree t ) : ITree
FindTokenSpanAtPosition ( ITrackingPoint point, ICompletionSession session ) : ITrackingSpan
GetColumns ( DbConnection con, List tables ) : List
GetCompleteStatement ( ITextSnapshot snapshot, SnapshotPoint snapPos, StringBuilder &sbErrors, ITree &treeStmt ) : string
GetCompleteStatement ( ITextSnapshot snapshot, SnapshotPoint snapPos, StringBuilder &sbErrors, ITree &treeStmt ) : void
ICompletionSource ( ICompletionSession session, IList completionSets ) : void
RemoveToken ( string sql, SnapshotPoint snapPos ) : Antlr.Runtime.CommonTokenStream

Removes a token using the enhanced token stream class.

RemoveToken ( string sql, int position ) : Antlr.Runtime.CommonTokenStream

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MySqlCompletionSource() public method

public MySqlCompletionSource ( MySqlCompletionSourceProvider sourceProvider, ITextBuffer textBuffer ) : System
sourceProvider MySqlCompletionSourceProvider
textBuffer ITextBuffer
return System