mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 09:42:50 -06:00
libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables
This commit is contained in:
15
src/runtime/c/pgf/literals.h
Normal file
15
src/runtime/c/pgf/literals.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef PGF_LITERALS_H_
|
||||
#define PGF_LITERALS_H_
|
||||
|
||||
#include <pgf/data.h>
|
||||
|
||||
PgfCallbacksMap*
|
||||
pgf_new_callbacks_map(PgfConcr* concr, GuPool *pool);
|
||||
|
||||
// literal for named entities recognition
|
||||
extern PgfLiteralCallback pgf_nerc_literal_callback;
|
||||
|
||||
PgfCCat*
|
||||
pgf_literal_cat(PgfConcr* concr, PgfLiteral lit);
|
||||
|
||||
#endif // PGF_LITERALS_H_
|
||||
Reference in New Issue
Block a user