Skip to content
← Back

src/semantic/dotnet/completion_symbol.ghul

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