19 else if (type ==
PIPE)
28 return (
"REDIR_APPEND");
30 return (
"REDIR_HEREDOC");
72 new_prefix[j] = prefix[i];
78 new_prefix[j++] =
'|';
79 new_prefix[j++] =
' ';
80 new_prefix[j++] =
' ';
84 new_prefix[j++] =
' ';
85 new_prefix[j++] =
' ';
86 new_prefix[j++] =
' ';
int ft_printf(const char *format,...)
enum e_token_type t_token_type
void print_ast_node(t_ast *node, int depth, char *prefix, int is_left)
void print_ast_root(t_ast *root)
void print_ast_graphical(t_ast *node, int depth, char *prefix, int is_left)
void build_new_prefix(char *new_prefix, char *prefix, int is_left)
const char * get_token_type_name(t_token_type type)