Home
last modified time | relevance | path

Searched hist:"2 e8a843d" (Results 1 – 1 of 1) sorted by relevance

/qemu/scripts/qapi/
H A Dintrospect.py2e8a843d Tue Mar 17 11:54:39 GMT 2020 Markus Armbruster <armbru@redhat.com> qapi/introspect: Rename *qlit* to reduce confusion

We generate the value of qmp_schema_qlit from an expression tree. The
function doing that is named to_qlit(), and its inputs are accumulated
in QAPISchemaGenIntrospectVisitor._qlits. We call both its input and
its output "qlit". This is confusing.

Use "tree" for input, and "qlit" only for output: rename to_qlit() to
_tree_to_qlit(), ._qlits to ._trees, ._gen_qlit() to ._gen_tree().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200317115459.31821-15-armbru@redhat.com>