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