libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
token.h
Go to the documentation of this file.
1#pragma once
2
3#include "types/token.h"
4
14void
15token_init(token_t* token, const char* lexeme, token_type_t type, unsigned int line, unsigned int column);
Struct for a Mya token.
Definition token.h:32
void token_init(token_t *token, const char *lexeme, token_type_t type, unsigned int line, unsigned int column)
Initializes a token struct.
Definition token.c:7
enum token_type token_type_t
Enumeration of token types.
struct token token_t
Struct for a Mya token.