5 if (cmd[i] ==
'<' && cmd[i + 1] ==
'<')
7 if (cmd[i] ==
'>' && cmd[i + 1] ==
'>')
59 return (consumed_len);
int handle_syntax_error(t_shell *shell, char *unexpected_token)
int handle_operator_error(t_shell *shell, int i)
t_operator_type assess_operator_type(char *cmd, int i)
int consume_operator(t_shell *shell, t_token_type type, char *val, int len)
int operator_dispatcher(t_shell *shell, t_operator_type op_type)
int handle_operator(t_shell *shell, int i)
int append_token(t_shell *shell, t_token_type type, char *value, t_quote_type quote_type)
Minishell ana header dosyası
enum e_token_type t_token_type
-----> LEXER <--—
enum e_operator_type t_operator_type