mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-09 03:02:50 -06:00
remove obsolete code
This commit is contained in:
@@ -87,59 +87,8 @@ struct PGF_INTERNAL_DECL PgfExprImplArg {
|
||||
PgfExpr expr;
|
||||
};
|
||||
|
||||
// PgfPatt
|
||||
|
||||
typedef object PgfPatt;
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattApp {
|
||||
static const uint8_t tag = 0;
|
||||
|
||||
ref<PgfText> ctor;
|
||||
Vector<PgfPatt> args;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattVar {
|
||||
static const uint8_t tag = 1;
|
||||
|
||||
PgfText name;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattAs {
|
||||
static const uint8_t tag = 2;
|
||||
|
||||
PgfPatt patt;
|
||||
PgfText name;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattWild {
|
||||
static const uint8_t tag = 3;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattLit {
|
||||
static const uint8_t tag = 4;
|
||||
|
||||
PgfLiteral lit;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattImplArg {
|
||||
static const uint8_t tag = 5;
|
||||
|
||||
PgfPatt patt;
|
||||
};
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfPattTilde {
|
||||
static const uint8_t tag = 6;
|
||||
|
||||
PgfExpr expr;
|
||||
};
|
||||
|
||||
typedef float prob_t;
|
||||
|
||||
typedef struct {
|
||||
prob_t prob;
|
||||
PgfExpr expr;
|
||||
} PgfExprProb;
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfDBMarshaller : public PgfMarshaller {
|
||||
virtual object match_lit(PgfUnmarshaller *u, PgfLiteral l);
|
||||
virtual object match_expr(PgfUnmarshaller *u, PgfExpr e);
|
||||
@@ -289,7 +238,4 @@ void pgf_context_free(ref<Vector<PgfHypo>> hypos);
|
||||
PGF_INTERNAL_DECL
|
||||
void pgf_type_free(ref<PgfDTyp> dtyp);
|
||||
|
||||
PGF_INTERNAL_DECL
|
||||
void pgf_patt_free(PgfPatt patt);
|
||||
|
||||
#endif /* EXPR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user