mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 06:52:49 -06:00
generate and store the ranges for all linearization rules
This commit is contained in:
@@ -123,10 +123,20 @@ struct PGF_INTERNAL_DECL PgfLParam {
|
||||
} terms[];
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfVariableRange {
|
||||
size_t var;
|
||||
size_t range;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPArg {
|
||||
ref<PgfLParam> param;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPResult {
|
||||
ref<Vector<PgfVariableRange>> vars;
|
||||
PgfLParam param;
|
||||
};
|
||||
|
||||
typedef object PgfSymbol;
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfSymbolCat {
|
||||
@@ -202,7 +212,7 @@ struct PGF_INTERNAL_DECL PgfConcrLin {
|
||||
ref<PgfAbsFun> absfun;
|
||||
|
||||
ref<Vector<PgfPArg>> args;
|
||||
ref<Vector<ref<PgfLParam>>> res;
|
||||
ref<Vector<ref<PgfPResult>>> res;
|
||||
ref<Vector<ref<Vector<PgfSymbol>>>> seqs;
|
||||
|
||||
PgfText name;
|
||||
|
||||
Reference in New Issue
Block a user