Re: [PATCH v4 4/6] qapi/parser: add QAPIExpression type

2023-02-15 Thread John Snow
On Wed, Feb 15, 2023 at 4:43 AM Markus Armbruster wrote: > > John Snow writes: > > > This patch creates a new type, QAPIExpression, which represents a parsed > > expression complete with QAPIDoc and QAPISourceInfo. > > > > This patch turns parser.exprs into a list of QAPIExpression instead, > > a

Re: [PATCH v4 4/6] qapi/parser: add QAPIExpression type

2023-02-15 Thread Markus Armbruster
John Snow writes: > This patch creates a new type, QAPIExpression, which represents a parsed > expression complete with QAPIDoc and QAPISourceInfo. > > This patch turns parser.exprs into a list of QAPIExpression instead, > and adjusts expr.py to match. > > This allows the types we specify in pars

[PATCH v4 4/6] qapi/parser: add QAPIExpression type

2023-02-14 Thread John Snow
This patch creates a new type, QAPIExpression, which represents a parsed expression complete with QAPIDoc and QAPISourceInfo. This patch turns parser.exprs into a list of QAPIExpression instead, and adjusts expr.py to match. This allows the types we specify in parser.py to be "remembered" all the