John Snow
|
939c639e1d
qapi/parser: preserve indentation in QAPIDoc sections
|
hai 1 ano |
John Snow
|
d5e2f3d03c
qapi/parser.py: assert member.info is present in connect_member
|
hai 1 ano |
John Snow
|
7c6e446476
qapi/parser: demote QAPIExpression to Dict[str, Any]
|
hai 1 ano |
John Snow
|
2daf52df8b
qapi/parser: shush up pylint
|
hai 1 ano |
John Snow
|
4f8f199fa5
qapi/parser: fix typo - self.returns.info => self.errors.info
|
hai 1 ano |
Markus Armbruster
|
e1f684ea2e
qapi: Reject "Returns" section when command doesn't return anything
|
hai 1 ano |
Markus Armbruster
|
3a025d3d1f
qapi: New documentation section tag "Errors"
|
hai 1 ano |
Markus Armbruster
|
51e97c14fb
qapi: Slightly clearer error message for invalid "Returns" section
|
hai 1 ano |
Markus Armbruster
|
ba7f63f9a4
qapi: Memorize since & returns sections
|
hai 1 ano |
Markus Armbruster
|
adb0193b90
qapi: Divorce QAPIDoc from QAPIParseError
|
hai 1 ano |
Markus Armbruster
|
629c5075aa
qapi: Reject multiple and empty feature descriptions
|
hai 1 ano |
Markus Armbruster
|
3d035cd2cc
qapi: Rewrite doc comment parser
|
hai 1 ano |
Markus Armbruster
|
0b82a7440c
qapi: Merge adjacent untagged sections
|
hai 1 ano |
Markus Armbruster
|
66227e9047
qapi: Recognize section tags and 'Features:' only after blank line
|
hai 1 ano |
Markus Armbruster
|
d23055b8db
qapi: Require descriptions and tagged sections to be indented
|
hai 1 ano |
Markus Armbruster
|
56c64dd60a
qapi: Reject section heading in the middle of a doc comment
|
hai 1 ano |
Markus Armbruster
|
31c54b92ad
qapi: Rename QAPIDoc.Section.name to .tag
|
hai 1 ano |
Markus Armbruster
|
573e2223f9
qapi: Improve error message for empty doc sections
|
hai 1 ano |
Markus Armbruster
|
bf00dc19f3
qapi: Improve error position for bogus invalid "Returns" section
|
hai 1 ano |
Markus Armbruster
|
15333abed9
qapi: Improve error position for bogus argument descriptions
|
hai 1 ano |
Markus Armbruster
|
0cec50119f
qapi: Require member documentation (with loophole)
|
hai 1 ano |
Markus Armbruster
|
b0b1313eb2
qapi: Fix dangling references to docs/devel/qapi-code-gen.txt
|
hai 1 ano |
John Snow
|
a6c5d159ce
qapi: re-establish linting baseline
|
hai 1 ano |
Markus Armbruster
|
290e48e8f1
qapi: Improve error message for description following section
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
d27e7c3593
qapi/parser: Drop two bad type hints for now
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
eb59cf7628
qapi: Section parameter @indent is no longer used, drop
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
08349786c8
qapi: Relax doc string @name: description indentation rules
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
3e32dca3f0
qapi: Rewrite parsing of doc comment section symbols and tags
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
9b2c6746d3
qapi: Fix argument description indentation stripping
|
%!s(int64=2) %!d(string=hai) anos |
Markus Armbruster
|
5b5fe0e018
qapi: Fix crash on stray double quote character
|
%!s(int64=2) %!d(string=hai) anos |