summary refs log tree commit diff stats
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2024-03-15 16:22:41 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-04-24 10:03:54 +0200
commit2418d1c43add3e8e7089a092574da703c15ac14c (patch)
treeca0c0dd784565ddb836aebb9ec32af05742e7eb0 /scripts/qapi/parser.py
parentce7fde06306e0e63227bdf91be4c5d04ed26b23f (diff)
downloadfocaccia-qemu-2418d1c43add3e8e7089a092574da703c15ac14c.tar.gz
focaccia-qemu-2418d1c43add3e8e7089a092574da703c15ac14c.zip
qapi: create QAPISchemaDefinition
Include entities don't have names, but we generally expect "entities" to
have names. Reclassify all entities with names as *definitions*, leaving
the nameless include entities as QAPISchemaEntity instances.

This is primarily to help simplify typing around expectations of what
callers expect for properties of an "entity".

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240315152301.3621858-6-armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions