qemu-e2k/scripts/qapi
Marc-André Lureau 87adbbffd4 qapi: add a dictionary form for TYPE
Wherever a struct/union/alternate/command/event member with NAME: TYPE
form is accepted, desugar it to a NAME: { 'type': TYPE } form.

This will allow to add new member details, such as 'if' in the
following patch to introduce conditionals, or 'default' for default
values etc.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181213123724.4866-13-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-13 19:20:11 +01:00
..
__init__.py
commands.py qapi/commands: add #if conditions to commands 2018-07-03 18:38:54 +02:00
common.py qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
doc.py qapi: change enum visitor and gen_enum* to take QAPISchemaMember 2018-12-13 19:20:11 +01:00
events.py qapi-events: add 'if' condition to implicit event enum 2018-12-13 19:20:11 +01:00
introspect.py qapi: change enum visitor and gen_enum* to take QAPISchemaMember 2018-12-13 19:20:11 +01:00
types.py qapi: change enum visitor and gen_enum* to take QAPISchemaMember 2018-12-13 19:20:11 +01:00
visit.py qapi: change enum visitor and gen_enum* to take QAPISchemaMember 2018-12-13 19:20:11 +01:00