xo-interpreter2 stack: + literal array parsing
This commit is contained in:
parent
f2a9aa3f52
commit
680416d077
18 changed files with 812 additions and 51 deletions
|
|
@ -53,7 +53,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
/** @class DExpectQListSsm
|
||||
* @brief parser state-machine for a formal parameter list
|
||||
* @brief parser state-machine for a literal list
|
||||
**/
|
||||
class DExpectQListSsm : public DSyntaxStateMachine<DExpectQListSsm> {
|
||||
public:
|
||||
|
|
@ -120,21 +120,6 @@ namespace xo {
|
|||
|
||||
///@}
|
||||
|
||||
private:
|
||||
/** @defgroup scm-expectqlistssm-impl-methods **/
|
||||
///@{
|
||||
|
||||
/** update local state to include parsed formal (param_name, param_type).
|
||||
* If stack memory needed, get from @p parser_alloc.
|
||||
* Lifetime until formal arglist completely parsed
|
||||
**/
|
||||
void _accept_formal(obj<AAllocator> expr_alloc,
|
||||
DArena & parser_alloc,
|
||||
const DUniqueString * param_name,
|
||||
TypeDescr param_type);
|
||||
|
||||
///@}
|
||||
|
||||
private:
|
||||
/** @defgroup scm-expectqlistssm-member-vars **/
|
||||
///@{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue