maxishell
Implementation of a shell for Linux-like systems
|
#include "tokens.h"
Go to the source code of this file.
Functions | |
t_ast * | manage_redirs (t_token **tokens, t_ms_data *data) |
t_ast * | create_redir_node (t_token *token) |
int | is_redir_node (t_token *tokens) |
t_ast * | new_ast_node (void) |
void | set_command_args (t_ast *command_node, t_token **tokens, int arg_count) |
Definition at line 62 of file AST.c.
References s_ast::args, s_token::data, ft_strdup(), new_ast_node(), s_token::type, and s_ast::type.
Referenced by manage_redirs().
int is_redir_node | ( | t_token * | tokens | ) |
Definition at line 79 of file AST.c.
References REDIR_APPEND, REDIR_HEREDOC, REDIR_IN, REDIR_OUT, and s_token::type.
Referenced by manage_redirs().
Definition at line 20 of file AST.c.
References create_redir_node(), is_redir_node(), s_ast::left, manage_commands(), s_token::next, and s_ast::right.
Referenced by create_pipe_node(), and manage_pipe().
t_ast * new_ast_node | ( | void | ) |
Definition at line 89 of file AST.c.
References s_ast::args, s_ast::left, NONE, s_ast::right, and s_ast::type.
Referenced by create_pipe_node(), create_redir_node(), and manage_commands().
Definition at line 48 of file AST.c.
References s_ast::args, ft_strdup(), and s_token::next.
Referenced by manage_commands().