Compare commits

..

2 commits

Author SHA1 Message Date
jgcodes2020
235de0fed8 Merge branch 'variant-literal' into 'main'
Draft: Syntax for variants

See merge request jwestman/blueprint-compiler!224
2025-01-01 20:19:39 +00:00
jgcodes2020
ce3797076c run just 2025-01-01 15:19:29 -05:00
3 changed files with 4 additions and 3 deletions

View file

@ -52,6 +52,7 @@ from .values import (
Translated,
TypeLiteral,
Value,
VariantValue,
)
OBJECT_CONTENT_HOOKS.children = [

View file

@ -19,6 +19,8 @@
import typing as T
import gi
from blueprintcompiler.gir import ArrayType
from blueprintcompiler.lsp_utils import SemanticToken
@ -28,8 +30,6 @@ from .gobject_object import Object
from .types import TypeName
from .variant import VarContent
import gi
gi.require_version("GLib", "2.0")
from gi.repository import GLib

View file

@ -17,9 +17,9 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
import itertools
import typing as T
from dataclasses import dataclass
import itertools
class Colors: