diff options
author | John Snow <jsnow@redhat.com> | 2021-05-19 14:39:40 -0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-05-20 11:28:27 +0200 |
commit | 16ff40acc9c1fc871c2c835b3b20e374d6daed98 (patch) | |
tree | 92907ab34e3051ac259604621493188d2b4fd823 /disas | |
parent | b2b31fdf9bc66a82718c9e6ede2f364b0005728a (diff) |
qapi/parser: factor parsing routine into method
For the sake of keeping __init__ smaller (and treating it more like a
gallery of what state variables we can expect to see), put the actual
parsing action into a parse method. It remains invoked from the init
method to reduce churn.
To accomplish this, @previously_included becomes the private data
member ._included, and the filename is stashed as ._fname.
Add any missing declarations to the init method, and group them by
function so they can be understood quickly at a glance.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210519183951.3946870-5-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions