qemu/scripts/qapi
Markus Armbruster 24cfd6addd qapi/introspect: Factor out _make_tree()
The value of @qmp_schema_qlit is generated from an expression tree.
Tree nodes are created in several places.  Factor out the common code
into _make_tree().  This isn't much of a win now.  It will pay off
when we add feature flags in the next few commits.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200317115459.31821-16-armbru@redhat.com>
2020-03-17 19:58:34 +01:00
..
__init__.py
commands.py qapi: Consistently put @features parameter right after @ifcond 2020-03-17 19:58:34 +01:00
common.py
doc.py qapi: Consistently put @features parameter right after @ifcond 2020-03-17 19:58:34 +01:00
error.py
events.py qapi: Add feature flags to remaining definitions 2020-03-17 19:58:34 +01:00
expr.py qapi: Add feature flags to remaining definitions 2020-03-17 19:58:34 +01:00
gen.py
introspect.py qapi/introspect: Factor out _make_tree() 2020-03-17 19:58:34 +01:00
parser.py
schema.py qapi: Consistently put @features parameter right after @ifcond 2020-03-17 19:58:34 +01:00
source.py
types.py qapi: Consistently put @features parameter right after @ifcond 2020-03-17 19:58:34 +01:00
visit.py qapi: Consistently put @features parameter right after @ifcond 2020-03-17 19:58:34 +01:00