diff options
author | Markus Armbruster | 2020-03-17 12:54:39 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-03-17 19:58:34 +0100 |
commit | 2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5 (patch) | |
tree | 657f1b201f46ff229e4202a1bb03d49f8c20f849 /scripts/qapi/error.py | |
parent | qapi: Consistently put @features parameter right after @ifcond (diff) | |
download | qemu-2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5.tar.gz qemu-2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5.tar.xz qemu-2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5.zip |
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>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions