summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/introspect.py
Commit message (Expand)AuthorAgeFilesLines
* qapi/introspect.py: set _gen_tree's default ifcond argument to ()John Snow2021-02-181-2/+2
* qapi/introspect.py: Type _gen_tree variants as Sequence[str]John Snow2021-02-181-4/+4
* qapi/introspect.py: Update copyright and authors listJohn Snow2021-02-181-1/+2
* qapi/introspect.py: Add docstrings to _gen_tree and _tree_to_qlitJohn Snow2021-02-181-0/+20
* qapi/introspect.py: add type hint annotationsJohn Snow2021-02-181-33/+92
* qapi/introspect.py: remove _gen_variants helperJohn Snow2021-02-181-7/+2Star
* qapi/introspect.py: improve readability of _tree_to_qlitJohn Snow2021-02-181-15/+18
* qapi/introspect.py: improve _tree_to_qlit error messageJohn Snow2021-02-181-1/+3
* qapi/introspect.py: create a typed 'Annotated' data strutcureJohn Snow2021-02-181-33/+45
* qapi/introspect.py: Introduce preliminary tree typingJohn Snow2021-02-181-1/+30
* qapi/introspect.py: Always define all 'extra' dict keysJohn Snow2021-02-181-5/+4Star
* qapi/introspect.py: replace 'extra' dict with 'comment' argumentJohn Snow2021-02-181-6/+9
* qapi/introspect.py: Unify return type of _make_tree()John Snow2021-02-181-3/+1Star
* qapi/introspect.py: guard against ifcond/comment misuseJohn Snow2021-02-181-2/+9
* qapi/introspect.py: add _gen_features helperJohn Snow2021-02-181-8/+12
* qapi/introspect.py: use _make_tree for features nodesJohn Snow2021-02-181-1/+3
* qapi/introspect.py: assert schema is not NoneJohn Snow2021-02-181-0/+5
* qapi: enforce import order/styling with isortJohn Snow2020-10-101-2/+5
* qapi: Remove wildcard includesJohn Snow2020-10-101-1/+6
* qapi: Prefer explicit relative importsJohn Snow2020-10-101-4/+4
* qapi: Add a 'coroutine' flag for commandsKevin Wolf2020-10-091-1/+1
* qapi: Add feature flags to struct membersMarkus Armbruster2020-03-171-1/+1
* qapi/introspect: Factor out _make_tree()Markus Armbruster2020-03-171-20/+24
* qapi/introspect: Rename *qlit* to reduce confusionMarkus Armbruster2020-03-171-17/+18
* qapi: Consistently put @features parameter right after @ifcondMarkus Armbruster2020-03-171-5/+5
* qapi: Add feature flags to remaining definitionsMarkus Armbruster2020-03-171-17/+14Star
* qapi: Brush off some (py)lintMarkus Armbruster2020-03-051-2/+0Star
* qapi: Use super() now we have Python 3Markus Armbruster2020-03-051-2/+2
* qapi: Add feature flags to commandsPeter Krempa2019-10-221-1/+6
* qapi: Split up scripts/qapi/common.pyMarkus Armbruster2019-10-221-0/+5
* qapi: Add feature flags to struct typesKevin Wolf2019-06-121-1/+5
* qapi: Add #if conditions to generated code membersMarc-André Lureau2018-12-141-4/+10
* qapi: change enum visitor and gen_enum* to take QAPISchemaMemberMarc-André Lureau2018-12-131-2/+3
* qapi: Add comments to aid debugging generated introspectionEric Blake2018-08-281-6/+21
* qapi: Minor introspect.py cleanupsEric Blake2018-08-281-4/+3Star
* qapi: Make 'allow-oob' optional in SchemaInfoCommandMarkus Armbruster2018-07-231-5/+5
* qapi: Do not expose "allow-preconfig" in query-qmp-schemaMarkus Armbruster2018-07-161-2/+2
* qapi-introspect: add preprocessor conditions to generated QLitMarc-André Lureau2018-07-031-10/+21
* qapi-introspect: modify to_qlit() to append ',' on level > 0Marc-André Lureau2018-07-031-1/+3
* qapi: add 'ifcond' to visitor methodsMarc-André Lureau2018-07-031-6/+6
* qapi/introspect: Eliminate pointless variable in .visit_end()Markus Armbruster2018-06-221-4/+1Star
* qapi: introduce new cmd option "allow-preconfig"Igor Mammedov2018-05-301-3/+4
* qapi: introduce new cmd option "allow-oob"Peter Xu2018-03-191-2/+5
* qapi: generate a literal qobject for introspectionMarc-André Lureau2018-03-191-33/+43
* qapi: Move qapi-schema.json to qapi/, rename generated filesMarkus Armbruster2018-03-021-2/+2
* qapi: Make code-generating visitors use QAPIGen moreMarkus Armbruster2018-03-021-33/+23Star
* qapi-gen: New common driver for code and doc generatorsMarkus Armbruster2018-03-021-0/+188