38 return (consumed_len);
static int handle_newline(t_shell *shell, int *i, int *token_end)
Ardışık newline ve whitespace'leri atlayıp TOKEN_NEWLINE üretir.
int process_next_token(t_shell *shell, int i)
Bir sonraki token'ı işler.
int lexer(t_shell *shell)
Lexer ana fonksiyonu — komut satırını token'lara ayırır.
t_char_category assess_char_category(char c)
int category_dispatcher(t_shell *shell, t_char_category category, int i)
void mark_last_token_adjacent(t_shell *shell)
int append_token(t_shell *shell, t_token_type type, char *value, t_quote_type quote_type)
Minishell ana header dosyası
enum e_char_category t_char_category
int skip_whitespace(char *cmd, int i)