Skip to main content
Version: 0.1.0

Interface ICompletionExtension

Assembly: RCaron.AutoCompletion.dll
View Source
Declaration
csharp
public interface ICompletionExtension
Declaration
csharp
public interface ICompletionExtension

Methods

OnToken(List<Completion>, PosToken, int, int, LocalScope?, IList<IRCaronModule>?, RCaronParserContext, CancellationToken)

View Source
Declaration
csharp
void OnToken(List<Completion> completions, PosToken token, int caretPosition, int maxCompletions, LocalScope? localScope, IList<IRCaronModule>? modules, RCaronParserContext context, CancellationToken cancellationToken = default)
Declaration
csharp
void OnToken(List<Completion> completions, PosToken token, int caretPosition, int maxCompletions, LocalScope? localScope, IList<IRCaronModule>? modules, RCaronParserContext context, CancellationToken cancellationToken = default)
Parameters
TypeName
System.Collections.Generic.List<RCaron.AutoCompletion.Completion>completions
RCaron.PosTokentoken
System.Int32caretPosition
System.Int32maxCompletions
RCaron.LocalScopelocalScope
System.Collections.Generic.IList<RCaron.IRCaronModule>modules
RCaron.Parsing.RCaronParserContextcontext
System.Threading.CancellationTokencancellationToken

Extension Methods