summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/parser.py
Commit message (Expand)AuthorAgeFilesLines
* qapi/parser: Silence too-few-public-methods warningJohn Snow2021-10-021-0/+3
* qapi/parser: Add FIXME for consolidating JSON-related typesJohn Snow2021-10-021-0/+4
* qapi/parser: add type hint annotations (QAPIDoc)John Snow2021-10-021-28/+39
* qapi/parser: add import cycle workaroundJohn Snow2021-10-021-4/+11
* qapi/parser: Introduce NullSectionJohn Snow2021-10-021-11/+16
* qapi/parser: clarify _end_section() logicJohn Snow2021-10-021-7/+15
* qapi/parser: remove FIXME comment from _append_body_lineJohn Snow2021-10-021-2/+4
* qapi/parser: fix unused check_args_section argumentsJohn Snow2021-10-021-8/+10
* qapi/parser: add docstringsJohn Snow2021-05-201-0/+69
* qapi/parser: Remove superfluous list comprehensionJohn Snow2021-05-201-1/+1
* qapi/parser: add type hint annotationsJohn Snow2021-05-201-20/+38
* qapi/parser: Rework _check_pragma_list_of_str as a TypeGuardJohn Snow2021-05-201-14/+16
* qapi/parser: Fix token membership tests when token can be NoneJohn Snow2021-05-201-2/+3
* qapi: add must_match helperJohn Snow2021-05-201-6/+7
* qapi/parser: Use @staticmethod where appropriateJohn Snow2021-05-201-2/+4
* qapi/parser: assert object keys are stringsJohn Snow2021-05-201-0/+2
* qapi/parser: enforce all top-level expressions must be dict in _parse()John Snow2021-05-201-6/+8
* qapi/parser: Assert lexer value is a stringJohn Snow2021-05-201-0/+1
* qapi/parser: factor parsing routine into methodJohn Snow2021-05-201-12/+28
* qapi/source: Remove line number from QAPISourceInfo initializerJohn Snow2021-05-201-1/+1
* qapi/parser: Don't try to handle file errorsJohn Snow2021-05-201-9/+9
* qapi/error.py: move QAPIParseError to parser.pyJohn Snow2021-04-301-1/+13
* qapi: Enforce command naming rulesMarkus Armbruster2021-03-231-0/+3
* qapi: Rename pragma *-whitelist to *-exceptionsMarkus Armbruster2021-03-231-4/+4
* qapi: Factor out QAPISchemaParser._check_pragma_list_of_str()Markus Armbruster2021-03-231-10/+9Star
* qapi: Fix parse errors for removal of null from schema languageMarkus Armbruster2021-03-051-4/+4
* qapi: enforce import order/styling with isortJohn Snow2020-10-101-1/+1
* qapi: Prefer explicit relative importsJohn Snow2020-10-101-2/+2
* scripts/qapi/parser.py: improve doc comment indent handlingPeter Maydell2020-09-291-19/+74
* scripts/qapi: Move doc-comment whitespace stripping to doc.pyPeter Maydell2020-09-291-8/+4Star
* qapi: Make section headings start a new doc comment blockMarkus Armbruster2020-09-071-8/+13
* qapi: Reject section markup in definition documentationMarkus Armbruster2020-09-071-0/+5
* qapi: Brush off some (py)lintMarkus Armbruster2020-03-051-4/+2Star
* qapi: Use super() now we have Python 3Markus Armbruster2020-03-051-1/+1
* qapi: Drop conditionals for Python 2Markus Armbruster2020-03-051-5/+1Star
* qapi: Inheriting from object is pointless with Python 3, dropMarkus Armbruster2020-03-051-3/+3
* qapi: Check feature documentation against the schemaMarkus Armbruster2019-10-291-9/+22
* qapi: Polish reporting of bogus member documentationMarkus Armbruster2019-10-291-2/+4
* qapi: Split up scripts/qapi/common.pyMarkus Armbruster2019-10-221-0/+570