testing some ideas for the parser
This commit is contained in:
parent
d69844dab1
commit
68c2fc7afb
2 changed files with 11 additions and 13 deletions
|
|
@ -37,12 +37,19 @@ typedef struct ARC_ParserTag {
|
|||
uint32_t tagId;
|
||||
|
||||
uint32_t **tokensOrTags;
|
||||
uint32_t tokensOrTagsSize;
|
||||
|
||||
ARC_ParserTag_AddDataFn *addDataFn;
|
||||
void *addUserData;
|
||||
uint32_t tokensOrTagsSize;
|
||||
} ARC_ParserTag;
|
||||
|
||||
/*
|
||||
* @brief
|
||||
*/
|
||||
typedef struct ARC_ParserTagToken {
|
||||
uint32_t id;
|
||||
|
||||
ARC_LexerToken *token;
|
||||
ARC_Vector *tagTokens;
|
||||
} ARC_ParserTagToken;
|
||||
|
||||
/**
|
||||
* @brief a callback function to initialize the lexer the parser uses with rules
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue