rename types
This commit is contained in:
20
parser.h
20
parser.h
@@ -9,24 +9,24 @@
|
||||
typedef struct {
|
||||
uint32_t len;
|
||||
uint32_t cap;
|
||||
astNodeIndex* arr;
|
||||
} parserNodeIndexSlice;
|
||||
AstNodeIndex* arr;
|
||||
} ParserNodeIndexSlice;
|
||||
|
||||
typedef struct {
|
||||
const char* source;
|
||||
const uint32_t source_len;
|
||||
|
||||
tokenizerTag* token_tags;
|
||||
astIndex* token_starts;
|
||||
TokenizerTag* token_tags;
|
||||
AstIndex* token_starts;
|
||||
uint32_t tokens_len;
|
||||
|
||||
astTokenIndex tok_i;
|
||||
AstTokenIndex tok_i;
|
||||
|
||||
astNodeList nodes;
|
||||
parserNodeIndexSlice extra_data;
|
||||
parserNodeIndexSlice scratch;
|
||||
} parser;
|
||||
AstNodeList nodes;
|
||||
ParserNodeIndexSlice extra_data;
|
||||
ParserNodeIndexSlice scratch;
|
||||
} Parser;
|
||||
|
||||
int parse_root(parser*);
|
||||
int parseRoot(Parser*);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user