qemu-e2k/scripts/qapi
Paolo Bonzini a58069494d qapi-schema: support alternates with array type
Detect array types as alternate branches, and turn the JSON list into
a QAPISchemaArrayType.  Array types in an alternate are represented with
QTYPE_QLIST in the type field.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220321164243.200569-2-pbonzini@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2022-04-21 10:11:25 +02:00
..
__init__.py
.flake8 qapi: delint using flake8 2020-10-10 11:37:47 +02:00
.isort.cfg
commands.py scripts/qapi: minor delinting 2022-02-28 11:39:35 +01:00
common.py qapi: Bury some unused code in class Indentation 2021-09-08 15:30:10 +02:00
error.py qapi/error: Add type hints 2021-04-30 12:59:54 +02:00
events.py qapi: Extend -compat to set policy for unstable interfaces 2021-10-29 21:28:01 +02:00
expr.py qapi-schema: support alternates with array type 2022-04-21 10:11:25 +02:00
gen.py qapi/gen: Add FOO.trace-events output module 2022-01-27 11:24:18 +01:00
introspect.py qapi: Add feature flags to enum members 2021-10-27 17:18:55 +02:00
main.py qapi: generate trace events by default 2022-01-27 15:17:35 +01:00
mypy.ini qapi/parser: enable mypy checks 2021-10-02 07:33:42 +02:00
parser.py qapi/parser: Silence too-few-public-methods warning 2021-10-02 07:33:42 +02:00
pylintrc scripts/qapi: minor delinting 2022-02-28 11:39:35 +01:00
schema.py qapi-schema: support alternates with array type 2022-04-21 10:11:25 +02:00
source.py qapi/source: Remove line number from QAPISourceInfo initializer 2021-05-20 11:28:27 +02:00
types.py scripts/qapi: minor delinting 2022-02-28 11:39:35 +01:00
visit.py scripts/qapi: minor delinting 2022-02-28 11:39:35 +01:00