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