#ifndef __TOKENS_H__ #define __TOKENS_H__ #include "enums.h" #include struct Tokens { struct Tokens *next; enum TokenType type; char *val; }; void tokens_push(enum TokenType token_type, const char *val); void tokens_pop(); bool tokens_expect(enum TokenType token_type); const struct Tokens *tokens_top(); #endif