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