Normed the private files

This commit is contained in:
Raphaël 2024-09-02 17:01:47 +02:00
parent 993efe4287
commit b744ceb755
4 changed files with 117 additions and 87 deletions

View file

@ -0,0 +1,77 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* _here_doc_not_done.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/02 16:37:28 by rparodi #+# #+# */
/* Updated: 2024/09/02 16:39:15 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "app/node.h"
#include "ast/ast.h"
#include "gmr/symbols.h"
#include "me/types.h"
#include <stdio.h>
t_error build_sym_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_content(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_end(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_redirect(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_start(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}

View file

@ -1,23 +1,17 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* not_done_print.c :+: :+: :+: */ /* _not_done_print.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/26 11:00:25 by rparodi #+# #+# */ /* Created: 2024/07/26 11:00:25 by rparodi #+# #+# */
/* Updated: 2024/07/30 18:24:16 by maiboyer ### ########.fr */ /* Updated: 2024/09/02 17:01:00 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#include "ast/_print_ast.h" #include "ast/_print_ast.h"
void ast_print_node_if(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_case(t_ast_node self) void ast_print_node_case(t_ast_node self)
{ {
printf("This function is not done '%s'", __func__); printf("This function is not done '%s'", __func__);
@ -30,30 +24,12 @@ void ast_print_node_case_item(t_ast_node self)
(void)(self); (void)(self);
} }
void ast_print_node_elif(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_else(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_for(t_ast_node self) void ast_print_node_for(t_ast_node self)
{ {
printf("This function is not done '%s'", __func__); printf("This function is not done '%s'", __func__);
(void)(self); (void)(self);
} }
void ast_print_node_until(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_while(t_ast_node self) void ast_print_node_while(t_ast_node self)
{ {
printf("This function is not done '%s'", __func__); printf("This function is not done '%s'", __func__);

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */ /* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */
/* Updated: 2024/08/04 16:36:58 by rparodi ### ########.fr */ /* Updated: 2024/09/02 16:39:08 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -24,63 +24,3 @@ t_error _build_not_finished(t_parse_node self, t_const_str i, t_ast_node *out)
printf("building undefined symbol '%s'\n", ts_node_type(self)); printf("building undefined symbol '%s'\n", ts_node_type(self));
return (ERROR); return (ERROR);
} }
t_error build_sym_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_content(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_end(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_redirect(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_start(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}

View file

@ -0,0 +1,37 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* _not_done_scripting_print.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/02 16:40:12 by rparodi #+# #+# */
/* Updated: 2024/09/02 17:00:54 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "ast/_print_ast.h"
void ast_print_node_if(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_elif(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_else(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}
void ast_print_node_until(t_ast_node self)
{
printf("This function is not done '%s'", __func__);
(void)(self);
}