diff options
| author | Markus Armbruster <armbru@redhat.com> | 2020-03-17 12:54:39 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2020-03-17 19:58:34 +0100 |
| commit | 2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5 (patch) | |
| tree | 657f1b201f46ff229e4202a1bb03d49f8c20f849 /scripts/qapi/error.py | |
| parent | 7b3bc9e28f366e591ae6da0d0c58d05d9f487ced (diff) | |
| download | focaccia-qemu-2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5.tar.gz focaccia-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