xo-reader2: parse list types + utest
This commit is contained in:
parent
6a0333765a
commit
46637ec16a
19 changed files with 787 additions and 34 deletions
|
|
@ -16,13 +16,13 @@ namespace xo {
|
|||
* Already in quoted-literal context
|
||||
*
|
||||
* [ quote-expr ... ]
|
||||
* ^ ^ ^
|
||||
* | qarray_1a qarray_2(done)
|
||||
* qarray_0
|
||||
* ^ ^ ^ ^
|
||||
* | qarray_1a | qarray_2(done)
|
||||
* qarray_0 qarray_1a
|
||||
*
|
||||
* qarray_0 --on_leftbrace_token()--> qarray_1a [push ExpectQLiteralSsm]
|
||||
* qarray_0 --on_leftbracket_token()--> qarray_1a [push ExpectQLiteralSsm]
|
||||
* qarray_1a --on_quoted_literal()--> qarray_1a [append literal]
|
||||
* qarray_1a --on_rightbrace_token()--> qarray_2(done) [report quoted array]
|
||||
* qarray_1a --on_rightbracket_token()--> qarray_2(done) [report quoted array]
|
||||
**/
|
||||
class QArrayXst {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue