mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
support syntagmatic words
This commit is contained in:
@@ -269,6 +269,12 @@ struct PGF_INTERNAL_DECL PgfLRShift {
|
||||
size_t r;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfLRShiftKS {
|
||||
size_t next_state;
|
||||
ref<PgfSequence> seq;
|
||||
size_t sym_idx;
|
||||
};
|
||||
|
||||
struct PgfLRReduceArg;
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfLRProduction {
|
||||
@@ -300,6 +306,7 @@ struct PGF_INTERNAL_DECL PgfLRReduce {
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfLRState {
|
||||
ref<Vector<PgfLRShift>> shifts;
|
||||
ref<Vector<PgfLRShiftKS>> tokens;
|
||||
ref<Vector<PgfLRReduce>> reductions;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user