aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/introspect.py
AgeCommit message (Expand)AuthorFilesLines
2021-10-27qapi: Add feature flags to enum membersMarkus Armbruster1-2/+3
2021-10-27qapi: Enable enum member introspection to show more than nameMarkus Armbruster1-4/+14
2021-09-03qapi: Simplify QAPISchemaIfCond's interface for generating CMarkus Armbruster1-8/+3
2021-08-26qapi: introduce QAPISchemaIfCond.cgen()Marc-André Lureau1-2/+2
2021-08-26qapi: add QAPISchemaIfCond.is_present()Marc-André Lureau1-2/+2
2021-08-26qapi: wrap Sequence[str] in an objectMarc-André Lureau1-15/+15
2021-02-18qapi/introspect.py: set _gen_tree's default ifcond argument to ()John Snow1-2/+2
2021-02-18qapi/introspect.py: Type _gen_tree variants as Sequence[str]John Snow1-4/+4
2021-02-18qapi/introspect.py: Update copyright and authors listJohn Snow1-1/+2
2021-02-18qapi/introspect.py: Add docstrings to _gen_tree and _tree_to_qlitJohn Snow1-0/+20
2021-02-18qapi/introspect.py: add type hint annotationsJohn Snow1-33/+92
2021-02-18qapi/introspect.py: remove _gen_variants helperJohn Snow1-7/+2
2021-02-18qapi/introspect.py: improve readability of _tree_to_qlitJohn Snow1-15/+18
2021-02-18qapi/introspect.py: improve _tree_to_qlit error messageJohn Snow1-1/+3
2021-02-18qapi/introspect.py: create a typed 'Annotated' data strutcureJohn Snow1-33/+45
2021-02-18qapi/introspect.py: Introduce preliminary tree typingJohn Snow1-1/+30
2021-02-18qapi/introspect.py: Always define all 'extra' dict keysJohn Snow1-5/+4
2021-02-18qapi/introspect.py: replace 'extra' dict with 'comment' argumentJohn Snow1-6/+9
2021-02-18qapi/introspect.py: Unify return type of _make_tree()John Snow1-3/+1
2021-02-18qapi/introspect.py: guard against ifcond/comment misuseJohn Snow1-2/+9
2021-02-18qapi/introspect.py: add _gen_features helperJohn Snow1-8/+12
2021-02-18qapi/introspect.py: use _make_tree for features nodesJohn Snow1-1/+3
2021-02-18qapi/introspect.py: assert schema is not NoneJohn Snow1-0/+5
2020-10-10qapi: enforce import order/styling with isortJohn Snow1-2/+5
2020-10-10qapi: Remove wildcard includesJohn Snow1-1/+6
2020-10-10qapi: Prefer explicit relative importsJohn Snow1-4/+4
2020-10-09qapi: Add a 'coroutine' flag for commandsKevin Wolf1-1/+1
2020-03-17qapi: Add feature flags to struct membersMarkus Armbruster1-1/+1
2020-03-17qapi/introspect: Factor out _make_tree()Markus Armbruster1-20/+24
2020-03-17qapi/introspect: Rename *qlit* to reduce confusionMarkus Armbruster1-17/+18
2020-03-17qapi: Consistently put @features parameter right after @ifcondMarkus Armbruster1-5/+5
2020-03-17qapi: Add feature flags to remaining definitionsMarkus Armbruster1-17/+14
2020-03-05qapi: Brush off some (py)lintMarkus Armbruster1-2/+0
2020-03-05qapi: Use super() now we have Python 3Markus Armbruster1-2/+2
2019-10-22qapi: Add feature flags to commandsPeter Krempa1-1/+6
2019-10-22qapi: Split up scripts/qapi/common.pyMarkus Armbruster1-0/+5
2019-06-12qapi: Add feature flags to struct typesKevin Wolf1-1/+5
2018-12-14qapi: Add #if conditions to generated code membersMarc-André Lureau1-4/+10
2018-12-13qapi: change enum visitor and gen_enum* to take QAPISchemaMemberMarc-André Lureau1-2/+3
2018-08-28qapi: Add comments to aid debugging generated introspectionEric Blake1-6/+21
2018-08-28qapi: Minor introspect.py cleanupsEric Blake1-4/+3
2018-07-23qapi: Make 'allow-oob' optional in SchemaInfoCommandMarkus Armbruster1-5/+5
2018-07-16qapi: Do not expose "allow-preconfig" in query-qmp-schemaMarkus Armbruster1-2/+2
2018-07-03qapi-introspect: add preprocessor conditions to generated QLitMarc-André Lureau1-10/+21
2018-07-03qapi-introspect: modify to_qlit() to append ',' on level > 0Marc-André Lureau1-1/+3
2018-07-03qapi: add 'ifcond' to visitor methodsMarc-André Lureau1-6/+6
2018-06-22qapi/introspect: Eliminate pointless variable in .visit_end()Markus Armbruster1-4/+1
2018-05-30qapi: introduce new cmd option "allow-preconfig"Igor Mammedov1-3/+4
2018-03-19qapi: introduce new cmd option "allow-oob"Peter Xu1-2/+5
2018-03-19qapi: generate a literal qobject for introspectionMarc-André Lureau1-33/+43