mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
implemented functionType and marshalling for types and expressions
This commit is contained in:
@@ -7,13 +7,6 @@ typedef variant PgfExpr;
|
||||
struct PgfHypo;
|
||||
struct PgfType;
|
||||
|
||||
typedef int PgfMetaId;
|
||||
|
||||
typedef enum {
|
||||
PGF_BIND_TYPE_EXPLICIT,
|
||||
PGF_BIND_TYPE_IMPLICIT
|
||||
} PgfBindType;
|
||||
|
||||
/// A literal for an abstract syntax tree
|
||||
typedef variant PgfLiteral;
|
||||
|
||||
@@ -106,4 +99,13 @@ typedef struct {
|
||||
PgfExpr expr;
|
||||
} PgfExprProb;
|
||||
|
||||
PGF_INTERNAL_DECL
|
||||
uintptr_t pgf_unmarshall_literal(PgfUnmarshaller *u, PgfLiteral l);
|
||||
|
||||
PGF_INTERNAL_DECL
|
||||
uintptr_t pgf_unmarshall_expr(PgfUnmarshaller *u, PgfExpr e);
|
||||
|
||||
PGF_INTERNAL_DECL
|
||||
uintptr_t pgf_unmarshall_type(PgfUnmarshaller *u, PgfType *tp);
|
||||
|
||||
#endif /* EXPR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user