aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
AgeCommit message (Expand)AuthorFilesLines
2024-07-17qapi: remove "Example" doc sectionJohn Snow1-1/+9
2024-07-06qapi/parser: don't parse rST markup as section headersJohn Snow1-2/+7
2024-07-06qapi: convert "Note" sections to plain rSTJohn Snow1-0/+15
2024-07-06qapi/parser: fix comment parsing immediately following a doc blockJohn Snow1-1/+1
2024-07-06qapi/parser: preserve indentation in QAPIDoc sectionsJohn Snow1-2/+2
2024-04-24qapi/parser.py: assert member.info is present in connect_memberJohn Snow1-0/+1
2024-04-24qapi/parser: demote QAPIExpression to Dict[str, Any]John Snow1-1/+2
2024-04-24qapi/parser: shush up pylintJohn Snow1-0/+1
2024-04-24qapi/parser: fix typo - self.returns.info => self.errors.infoJohn Snow1-1/+1
2024-03-04qapi: Reject "Returns" section when command doesn't return anythingMarkus Armbruster1-1/+6
2024-03-04qapi: New documentation section tag "Errors"Markus Armbruster1-6/+17
2024-03-04qapi: Slightly clearer error message for invalid "Returns" sectionMarkus Armbruster1-2/+3
2024-03-04qapi: Memorize since & returns sectionsMarkus Armbruster1-14/+17
2024-02-26qapi: Divorce QAPIDoc from QAPIParseErrorMarkus Armbruster1-38/+28
2024-02-26qapi: Reject multiple and empty feature descriptionsMarkus Armbruster1-1/+7
2024-02-26qapi: Rewrite doc comment parserMarkus Armbruster1-269/+211
2024-02-26qapi: Merge adjacent untagged sectionsMarkus Armbruster1-0/+3
2024-02-26qapi: Recognize section tags and 'Features:' only after blank lineMarkus Armbruster1-3/+8
2024-02-26qapi: Require descriptions and tagged sections to be indentedMarkus Armbruster1-0/+3
2024-02-26qapi: Reject section heading in the middle of a doc commentMarkus Armbruster1-3/+3
2024-02-26qapi: Rename QAPIDoc.Section.name to .tagMarkus Armbruster1-15/+15
2024-02-26qapi: Improve error message for empty doc sectionsMarkus Armbruster1-7/+7
2024-02-26qapi: Improve error position for bogus invalid "Returns" sectionMarkus Armbruster1-3/+7
2024-02-26qapi: Improve error position for bogus argument descriptionsMarkus Armbruster1-1/+3
2024-02-12qapi: Require member documentation (with loophole)Markus Armbruster1-1/+6
2024-01-26qapi: Fix dangling references to docs/devel/qapi-code-gen.txtMarkus Armbruster1-1/+1
2023-10-19qapi: re-establish linting baselineJohn Snow1-2/+3
2023-05-22qapi: Improve error message for description following sectionMarkus Armbruster1-2/+2
2023-05-17qapi/parser: Drop two bad type hints for nowMarkus Armbruster1-2/+2
2023-05-10qapi: Section parameter @indent is no longer used, dropMarkus Armbruster1-17/+14
2023-05-10qapi: Relax doc string @name: description indentation rulesMarkus Armbruster1-55/+18
2023-05-10qapi: Rewrite parsing of doc comment section symbols and tagsMarkus Armbruster1-28/+27
2023-05-09qapi: Fix argument description indentation strippingMarkus Armbruster1-9/+11
2023-05-09qapi: Fix crash on stray double quote characterMarkus Armbruster1-1/+1
2023-02-23qapi: remove JSON value FIXMEJohn Snow1-4/+0
2023-02-23qapi: remove _JSONObjectJohn Snow1-3/+2
2023-02-23qapi/parser: add QAPIExpression typeJohn Snow1-18/+28
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