Searched refs:json_lexer (Results 1 – 2 of 2) sorted by relevance
26 static bool lexer_consume(struct json_lexer *lex, struct json_token *tok, in lexer_consume()39 static bool lexer_next(struct json_lexer *lex, struct json_token *tok) in lexer_next()52 static void *lexer_json(struct json_lexer *lex);54 static void emit(struct json_lexer *lex, enum json_tokens token) in emit()62 static int next(struct json_lexer *lex) in next()73 static void ignore(struct json_lexer *lex) in ignore()78 static void backup(struct json_lexer *lex) in backup()83 static int peek(struct json_lexer *lex) in peek()92 static void *lexer_string(struct json_lexer *lex) in lexer_string()154 static int accept_run(struct json_lexer *lex, const char *run) in accept_run()[all …]
60 struct json_lexer { struct61 void *(*state)(struct json_lexer *lex); argument69 struct json_lexer lex; argument