Member group
GetCompletions
Declaring type: CompletionService
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: CompletionService.cs
Overloads / Variants
GetCompletions
func GetCompletions(compilation: Compilation, syntaxTree: SyntaxTree, position: int) -> IEnumerable<CompletionItem>
Source file: CompletionService.cs
Gets the completion items available at the specified position.
Parameters
| Name | Type | Description |
|---|---|---|
compilation |
Compilation | The compilation that contains the syntax tree. |
syntaxTree |
SyntaxTree | The syntax tree being queried. |
position |
Int32 | The position within the syntax tree. |
Return value
IEnumerable<CompletionItem>
A sequence of completion items applicable at the position.
GetCompletions
func GetCompletions(semanticModel: SemanticModel, position: int) -> IEnumerable<CompletionItem>
Source file: CompletionService.cs
Parameters
| Name | Type | Description |
|---|---|---|
semanticModel |
SemanticModel | |
position |
Int32 |
Return value
IEnumerable<CompletionItem>