Interface ICompletionExtension
Assembly: RCaron.AutoCompletion.dll
Declaration
csharp
public interface ICompletionExtension
Declaration
csharp
public interface ICompletionExtension
Methods
OnToken(List<Completion>, PosToken, int, int, LocalScope?, IList<IRCaronModule>?, RCaronParserContext, CancellationToken)
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
Type | Name |
---|
System.Collections.Generic.List<RCaron.AutoCompletion.Completion> | completions |
RCaron.PosToken | token |
System.Int32 | caretPosition |
System.Int32 | maxCompletions |
RCaron.LocalScope | localScope |
System.Collections.Generic.IList<RCaron.IRCaronModule> | modules |
RCaron.Parsing.RCaronParserContext | context |
System.Threading.CancellationToken | cancellationToken |
Extension Methods