diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-02-18 16:22:40 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-02-18 16:22:40 +0000 |
| commit | 47e5e8c9663c35495419ae59ab4d1cd9709ec0e2 (patch) | |
| tree | 2c23b846c5ae78d4417ffbfe7d8fca6a0a695bef /src/runtime/c/pgf/parser.h | |
| parent | aed7cc429afb6dfec2db4599f3f6cdf274fde7a1 (diff) | |
libpgf: now the linearization index is created during the grammar loading which also makes the types PgfLzr and PgfParser redundant.
Diffstat (limited to 'src/runtime/c/pgf/parser.h')
| -rw-r--r-- | src/runtime/c/pgf/parser.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/runtime/c/pgf/parser.h b/src/runtime/c/pgf/parser.h index 127bed5dc..26cc61210 100644 --- a/src/runtime/c/pgf/parser.h +++ b/src/runtime/c/pgf/parser.h @@ -17,30 +17,6 @@ typedef struct PgfParse PgfParse; -/** @name Creating a new parser - * - * A #PgfParser object can parse sentences of a single concrete category into - * abstract syntax trees (#PgfExpr). The parser is created with - * #pgf_new_parser. - * - * @{ - */ - -/// A parser for a single concrete category -typedef struct PgfParser PgfParser; - - -/// Create a new parser -PgfParser* -pgf_new_parser(PgfConcr* concr, GuPool* pool); -/**< - * @param concr The concrete category whose sentences are to be parsed - * - * @pool - * - * @return A newly created parser for the concrete category \p concr - */ - /** @} * * @name Parsing a sentence @@ -57,7 +33,7 @@ pgf_new_parser(PgfConcr* concr, GuPool* pool); /// Begin parsing PgfParse* -pgf_parser_parse(PgfParser* parser, PgfCId cat, size_t lin_idx, GuPool* pool); +pgf_parser_parse(PgfConcr* concr, PgfCId cat, size_t lin_idx, GuPool* pool); /**< * @param parser The parser to use * |
