Expanded vtable for methods to determine whether a combinator is ok to use with regular or CF grammars.
This commit is contained in:
parent
8163b3981d
commit
36e1f66de0
25 changed files with 200 additions and 4 deletions
|
|
@ -112,6 +112,8 @@ typedef bool (*HPredicate)(HParseResult *p);
|
|||
|
||||
typedef struct HParserVtable_ {
|
||||
HParseResult* (*parse)(void *env, HParseState *state);
|
||||
bool (*isValidRegular)(void *env);
|
||||
bool (*isValidCF)(void *env);
|
||||
} HParserVtable;
|
||||
|
||||
typedef struct HParser_ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue