regenerated stuff

This commit is contained in:
maix0 2024-09-26 18:31:56 +02:00
parent c284eb3786
commit 2e811bcec2
61 changed files with 1022 additions and 1697 deletions

View file

@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* _token.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/25 11:38:28 by rparodi #+# #+# */
/* Updated: 2024/09/26 18:21:45 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef _TOKEN_H
# define _TOKEN_H
# include "me/types.h"
typedef struct s_token t_token;
#endif

View file

@ -0,0 +1,45 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* token.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/26 17:59:23 by maiboyer #+# #+# */
/* Updated: 2024/09/26 18:29:25 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef TOKEN_H
#define TOKEN_H
#include "parser/_token.h"
#include "me/string/string.h"
#include "me/vec/vec_token.h"
enum e_token
{
AMP,
DOLLAR,
DQUOTE,
LPAREN,
NQUOTE,
PIPE,
CARRET,
RPAREN,
SEMICOLON,
SQUOTE,
WHITESPACE
};
struct s_token
{
t_vec_token subtokens;
t_string string;
enum e_token type;
};
#endif /* TOKEN_H */