mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
completions: Add types in typeof<> and as<>
This commit is contained in:
parent
d5b2ee3589
commit
e9206809d6
10 changed files with 124 additions and 39 deletions
|
@ -209,6 +209,7 @@ class XmlOutput(OutputFormat):
|
|||
else:
|
||||
xml.put_text(self._object_id(value, value.ident))
|
||||
elif isinstance(value, TypeLiteral):
|
||||
assert value.type_name is not None
|
||||
xml.put_text(value.type_name.glib_type_name)
|
||||
else:
|
||||
if isinstance(value.value, float) and value.value == int(value.value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue