aboutsummaryrefslogtreecommitdiff
path: root/src/include/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/lexer.h')
-rw-r--r--src/include/lexer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/lexer.h b/src/include/lexer.h
index e002893..e6bee55 100644
--- a/src/include/lexer.h
+++ b/src/include/lexer.h
@@ -9,12 +9,18 @@ typedef struct LEXER_STRUC {
} lexer_t;
lexer_t* lexer_init(char* content);
+
void lexer_next(lexer_t* lexer);
void lexer_pass(lexer_t* lexer);
+
token_t* lexer_get_next_token(lexer_t* lexer);
+
token_t* lexer_get_string(lexer_t* lexer);
+
token_t* lexer_get_id(lexer_t* lexer);
+
token_t* lexer_next_token(lexer_t* lexer, token_t* token);
+
char* lexer_get_c_as_string(lexer_t* lexer);
#endif