xo-reader2: + intern_string() forwarding methods in parser/reader
This commit is contained in:
parent
6795c1bc15
commit
df2c13f395
4 changed files with 20 additions and 0 deletions
|
|
@ -220,6 +220,10 @@ namespace xo {
|
|||
**/
|
||||
void begin_batch_session();
|
||||
|
||||
/** intern string @p str in global string table
|
||||
**/
|
||||
const DUniqueString * intern_string(std::string_view str);
|
||||
|
||||
/** include next token @p tk and increment parser state.
|
||||
*
|
||||
* @param tk next input token
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ namespace xo {
|
|||
**/
|
||||
void begin_batch_session();
|
||||
|
||||
/** intern string @p str in global string table
|
||||
**/
|
||||
const DUniqueString * intern_string(std::string_view str);
|
||||
|
||||
/** consume input @p input_cstr **/
|
||||
const ReaderResult & read_expr(span_type input_span, bool eof);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue