aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/expr.py
AgeCommit message (Expand)AuthorFilesLines
2023-04-24qapi: Fix to reject 'data': 'mumble' in structMarkus Armbruster1-9/+15
2023-04-24qapi: Fix error message when type name or array is expectedMarkus Armbruster1-8/+7
2023-04-24qapi: Simplify code a bit after previous commitsMarkus Armbruster1-11/+3
2023-04-24qapi: Improve error message for unexpected array typesMarkus Armbruster1-6/+0
2023-04-24qapi: Split up check_type()Markus Armbruster1-46/+64
2023-04-24qapi: Clean up after removal of simple unionsMarkus Armbruster1-1/+1
2023-02-23qapi: remove _JSONObjectJohn Snow1-10/+3
2023-02-23qapi/parser: add QAPIExpression typeJohn Snow1-49/+33
2023-02-23qapi: Add minor typing workaround for 3.6John Snow1-3/+2
2022-05-16qapi/expr: Enforce feature naming rules againMarkus Armbruster1-1/+1
2022-04-21qapi-schema: support alternates with array typePaolo Bonzini1-1/+1
2021-10-27qapi: Add feature flags to enum membersMarkus Armbruster1-1/+2
2021-09-27qapi: Drop simple unionsMarkus Armbruster1-15/+6
2021-09-25qapi: Stop enforcing "type name should not end in 'Kind'Markus Armbruster1-3/+3
2021-09-08qapi: Fix bogus error for 'if': { 'not': '' }Markus Armbruster1-8/+13
2021-09-03qapi: Tweak error messages for unknown / conflicting 'if' keysMarkus Armbruster1-4/+3
2021-09-03qapi: Tweak error messages for missing / conflicting meta-typeMarkus Armbruster1-14/+9
2021-09-03qapi: Use re.fullmatch() where appropriateMarkus Armbruster1-1/+1
2021-08-26qapi: make 'if' condition strings simple identifiersMarc-André Lureau1-2/+2
2021-08-26qapi: add 'not' condition operationMarc-André Lureau1-2/+5
2021-08-26qapi: add 'any' conditionMarc-André Lureau1-3/+3
2021-08-26qapi: replace if condition list with dict {'all': [...]}Marc-André Lureau1-25/+35
2021-07-15qapi: Fix crash on missing enum member nameMarkus Armbruster1-1/+1
2021-04-30qapi/expr: Update authorship and copyright informationJohn Snow1-1/+2
2021-04-30qapi/expr.py: Use tuples instead of lists for static dataJohn Snow1-2/+2
2021-04-30qapi/expr.py: Add docstringsJohn Snow1-5/+251
2021-04-30qapi/expr: Only explicitly prohibit 'Kind' nor 'List' for type namesJohn Snow1-3/+3
2021-04-30qapi/expr.py: Remove single-letter variableJohn Snow1-7/+7
2021-04-30qapi/expr.py: Consolidate check_if_str calls in check_ifJohn Snow1-17/+16
2021-04-30qapi/expr.py: add type hint annotationsJohn Snow1-25/+43
2021-04-30qapi/expr.py: Modify check_keys to accept any CollectionJohn Snow1-1/+1
2021-04-30qapi/expr.py: Add casts in a few select casesJohn Snow1-5/+5
2021-04-30qapi/expr.py: Check type of union and alternate 'data' memberJohn Snow1-0/+7
2021-04-30qapi/expr.py: move string check upwards in check_typeJohn Snow1-4/+4
2021-04-30qapi/expr.py: Add assertion for union type 'check_dict'John Snow1-1/+3
2021-04-30qapi/expr.py: constrain incoming expression typesJohn Snow1-3/+25
2021-04-30qapi/expr.py: Check for dict instead of OrderedDictJohn Snow1-3/+2
2021-04-30qapi/expr.py: Remove 'info' argument from nested check_if_strJohn Snow1-3/+3
2021-04-30qapi/expr: Comment cleanupJohn Snow1-1/+1
2021-03-23qapi: Enforce union and alternate branch naming rulesMarkus Armbruster1-2/+2
2021-03-23qapi: Enforce enum member naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce struct member naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce command naming rulesMarkus Armbruster1-2/+3
2021-03-23qapi: Enforce feature naming rulesMarkus Armbruster1-1/+1
2021-03-23qapi: Prepare for rejecting underscore in command and member namesMarkus Armbruster1-10/+14
2021-03-23qapi: Rename pragma *-whitelist to *-exceptionsMarkus Armbruster1-2/+2
2021-03-23qapi: Enforce type naming rulesMarkus Armbruster1-1/+2
2021-03-23qapi: Enforce event naming rulesMarkus Armbruster1-1/+3
2021-03-23qapi: Consistently permit any case in downstream prefixesMarkus Armbruster1-1/+1
2021-03-23qapi: Move uppercase rejection to check_name_lower()Markus Armbruster1-8/+7