mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
added an API for printing the PGF to human readable format
This commit is contained in:
@@ -147,6 +147,12 @@ PgfExpr
|
||||
pgf_read_expr(GuReader* rdr, GuPool* pool, GuExn* err);
|
||||
|
||||
void
|
||||
pgf_expr_print(PgfExpr expr, GuWriter* wtr, GuExn* err);
|
||||
pgf_print_expr(PgfExpr expr, int prec, GuWriter* wtr, GuExn* err);
|
||||
|
||||
void
|
||||
pgf_print_hypo(PgfHypo *hypo, int prec, GuWriter *wtr, GuExn *err);
|
||||
|
||||
void
|
||||
pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err);
|
||||
|
||||
#endif /* EXPR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user