Skip to content
← Back

src/semantic/dotnet/completion_symbol.ghul

1
@@IF.dotnet()
2
3
namespace Semantic.DotNet is
4
use TYPE = System.Type
5
6
// A name and a kind, with no type behind it. Populates completion
7
// listings over namespaces and types that have not been reflected
8
// yet, so a listing need not force every candidate to load.
9
class COMPLETION_SYMBOL: Symbols.Symbol is
10
symbol_kind: Symbols.SymbolKind
11
completion_kind: Symbols.CompletionKind
12
13
init(owner: Scope, name: string, symbol_kind: Symbols.SymbolKind, completion_kind: Symbols.CompletionKind) is
14
super.init(Source.LOCATION.reflected, owner, name)
15
16
self.symbol_kind = symbol_kind
17
self.completion_kind = completion_kind
18
si
19
si
20
si