types: Add UncheckedType

This allows us to remember information about an external type, such as
its name, while still marking it as unchecked.
This commit is contained in:
James Westman 2022-12-23 20:13:14 -06:00
parent f7aa7d0be2
commit 2033bd9e16
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
7 changed files with 55 additions and 11 deletions

View file

@ -24,7 +24,15 @@ from ..errors import CompileError, MultipleErrors
from ..completions_utils import *
from .. import decompiler as decompile
from ..decompiler import DecompileCtx, decompiler
from ..gir import StringType, BoolType, IntType, FloatType, GirType, Enumeration
from ..gir import (
StringType,
BoolType,
IntType,
FloatType,
GirType,
Enumeration,
UncheckedType,
)
from ..lsp_utils import Completion, CompletionItemKind, SemanticToken, SemanticTokenType
from ..parse_tree import *