xo-interpreter2 stack: plumbing for aux_mm and use opportunistically
This commit is contained in:
parent
fc17a6f856
commit
78f1b8a0b6
8 changed files with 110 additions and 42 deletions
|
|
@ -164,14 +164,18 @@ namespace xo {
|
|||
/** create parser in initial state;
|
||||
* parser is ready to receive tokens via @ref include_token
|
||||
*
|
||||
* @p config arena configuration for parser stack
|
||||
* @p expr_alloc allocator for schematika expressions.
|
||||
* Probably shared with execution.
|
||||
* @p config arena configuration for parser stack
|
||||
* @p expr_alloc allocator for schematika expressions.
|
||||
* Probably shared with execution.
|
||||
* @p aux_alloc aux allocator for non-copyable memory
|
||||
* with lifetime bounded by this
|
||||
* SchematikeParser itself
|
||||
* @p debug_flag true to enable debug logging
|
||||
**/
|
||||
SchematikaParser(const ArenaConfig & config,
|
||||
size_t max_stringtable_capacity,
|
||||
obj<AAllocator> expr_alloc,
|
||||
obj<AAllocator> aux_alloc,
|
||||
bool debug_flag);
|
||||
|
||||
/** scm-schematikaparser-access-methods **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue