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