xo-reader2: use DUniqueString* to report parsed formal
This commit is contained in:
parent
fb48c94be6
commit
1c2352c008
50 changed files with 377 additions and 65 deletions
|
|
@ -102,6 +102,12 @@ namespace xo {
|
|||
**/
|
||||
void on_parsed_typedescr(TypeDescr td);
|
||||
|
||||
/** update state to consume param (name, value) emitted by
|
||||
* nested (but not popped) parsing state
|
||||
**/
|
||||
void on_parsed_formal(const DUniqueString * param_name,
|
||||
TypeDescr param_type);
|
||||
|
||||
/** update state to respond to parsed expression @p expr
|
||||
* (from nested parsing state)
|
||||
**/
|
||||
|
|
@ -163,6 +169,15 @@ namespace xo {
|
|||
TypeDescr td,
|
||||
std::string_view expect_str);
|
||||
|
||||
/** report illegal parsed formal (param_name, param_type) from nested ssm.
|
||||
* Introducing as placeholder; not expected to be reachable in
|
||||
* full parser
|
||||
**/
|
||||
void illegal_parsed_formal(std::string_view ssm_name,
|
||||
const DUniqueString * param_name,
|
||||
TypeDescr param_type,
|
||||
std::string_view expect_str);
|
||||
|
||||
/** report illegal parsed expression from nested ssm.
|
||||
* Introducing as placeholder; not clear if this will be reachable
|
||||
* in full parser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue