xo-reader2: top-level string literal + on_string_token() in SSM

This commit is contained in:
Roland Conybeare 2026-01-23 17:23:19 -05:00
commit 4d0c97ab7a
32 changed files with 189 additions and 1 deletions

View file

@ -117,6 +117,15 @@
{type: "ParserStateMachine *", name: "p_psm"},
],
},
{
name: "on_string_token",
doc: ["update state machine for incoming string-token @p tk"],
return_type: "void",
args: [
{type: "const Token &", name: "tk"},
{type: "ParserStateMachine *", name: "p_psm"},
],
},
{
name: "on_semicolon_token",
doc: ["update state machine for incoming semicolon-token @p tk"],