summaryrefslogtreecommitdiffstats
path: root/scripts/qapi
Commit message (Expand)AuthorAgeFilesLines
* qapi/parser: add docstringsJohn Snow2021-05-201-0/+69
* qapi/parser: allow 'ch' variable nameJohn Snow2021-05-201-0/+1
* 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
* qapi: add must_match helperJohn Snow2021-05-203-11/+16
* qapi/parser: Use @staticmethod where appropriateJohn Snow2021-05-201-2/+4
* qapi/parser: assert object keys are stringsJohn Snow2021-05-201-0/+2
* qapi/parser: enforce all top-level expressions must be dict in _parse()John Snow2021-05-201-6/+8
* qapi/parser: Assert lexer value is a stringJohn Snow2021-05-201-0/+1
* qapi/parser: factor parsing routine into methodJohn Snow2021-05-201-12/+28
* qapi/source: Remove line number from QAPISourceInfo initializerJohn Snow2021-05-202-8/+4Star
* qapi/parser: Don't try to handle file errorsJohn Snow2021-05-203-14/+18
* qapi/error.py: enable mypy checksJohn Snow2021-04-301-5/+0Star
* qapi/error: Add type hintsJohn Snow2021-04-301-2/+9
* qapi/error.py: enable pylint checksJohn Snow2021-04-301-2/+1Star
* qapi/error.py: move QAPIParseError to parser.pyJohn Snow2021-04-302-15/+21
* qapi/error: assert QAPISourceInfo is not NoneJohn Snow2021-04-301-0/+1
* qapi/error: Make QAPISourceError 'col' parameter optionalJohn Snow2021-04-302-7/+4Star
* qapi/error: Use Python3-style super()John Snow2021-04-301-1/+1
* qapi/error: Repurpose QAPIError as an abstract base exception classJohn Snow2021-04-302-4/+12
* 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: enable pylint checksJohn Snow2021-04-301-1/+0Star
* 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/+16Star
* qapi/expr.py: add type hint annotationsJohn Snow2021-04-302-30/+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/+2Star
* 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-233-2/+8
* 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-234-11/+11
* qapi: Factor out QAPISchemaParser._check_pragma_list_of_str()Markus Armbruster2021-03-231-10/+9Star
* 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