diff --git a/ast__eval_8h_source.html b/ast__eval_8h_source.html index 42de7f24..448f0ad7 100644 --- a/ast__eval_8h_source.html +++ b/ast__eval_8h_source.html @@ -113,7 +113,7 @@
free_variables
void free_variables()
Use for Free Hash Map Variables at the end of the program.
Definition: ast_variable.c:52
until_loop
int until_loop(struct ast_node *node)
Evaluate the until loop.
Definition: loop.c:30
handle_word
char * handle_word(struct ast_node *node)
Handle word assignment.
Definition: ast_variable.c:131
-
redir_manager
int redir_manager(struct ast_node *ast, int *save_fd, int *fd_dup)
Definition: redirections.c:140
+
redir_manager
int redir_manager(struct ast_node *ast, int *save_fd, int *fd_dup)
Definition: redirections.c:139
match_ast
int match_ast(struct ast_node *node)
Evaluate the given AST.
Definition: ast_eval.c:180
ast_and_or
int ast_and_or(struct ast_node *node)
Evaluate and_or.
Definition: pipeline.c:76
pipeline_eval
int pipeline_eval(struct ast_node *node)
Pipeline evaluation.
Definition: pipeline.c:17
diff --git a/lexer_8h_source.html b/lexer_8h_source.html index c133aa9c..a32f0e74 100644 --- a/lexer_8h_source.html +++ b/lexer_8h_source.html @@ -138,25 +138,25 @@
193 char *get_word(struct lexer *lexer, bool *is_diactivated);
194 
195 #endif /* !LEXER_H */
-
lexer_pop
struct token lexer_pop(struct lexer *lexer)
Get the next token, and removes it from the stream.
Definition: lexer.c:364
+
lexer_pop
struct token lexer_pop(struct lexer *lexer)
Get the next token, and removes it from the stream.
Definition: lexer.c:370
print_token
void print_token(struct token token)
Print the given token.
Definition: lexer_utils2.c:3
-
parse_input_for_tok
struct token parse_input_for_tok(struct lexer *lexer)
Get the next token from the lexer.
Definition: lexer.c:252
+
parse_input_for_tok
struct token parse_input_for_tok(struct lexer *lexer)
Get the next token from the lexer.
Definition: lexer.c:257
get_word
char * get_word(struct lexer *lexer, bool *is_diactivated)
Returns the next word in the input string.
Definition: lexer.c:128
check_variable_assignement
bool check_variable_assignement(char *word)
Check if the word is a variable assignement.
Definition: lexer_utils.c:44
check_variable_name
bool check_variable_name(struct lexer *lexer, char **word, unsigned *word_index, bool *is_in_braces)
Check if the given word is a variable name.
Definition: lexer_utils.c:95
lexer_free
void lexer_free(struct lexer *lexer)
Free the given lexer.
Definition: lexer.c:44
-
handle_dollar
bool handle_dollar(struct lexer *lexer, char **word, unsigned *word_index, bool *is_in_braces)
Handle the dollar character.
Definition: lexer_utils.c:198
+
handle_dollar
bool handle_dollar(struct lexer *lexer, char **word, unsigned *word_index, bool *is_in_braces)
Handle the dollar character.
Definition: lexer_utils.c:200
lexer_new
struct lexer * lexer_new(const char *input)
Create a new lexer from the given input string.
Definition: lexer.c:29
handle_simple_quote
char * handle_simple_quote(struct lexer *lexer, bool *is_diactivated, char *word, unsigned *word_index)
Handle the simple quote character.
Definition: lexer_utils.c:22
-
handle_comment
char * handle_comment(struct lexer *lexer, char *word, unsigned *word_index)
Handle the comment character.
Definition: lexer_utils.c:271
-
handle_double_quote
char * handle_double_quote(struct lexer *lexer, bool *is_diactivated, char *word, unsigned *word_index)
Handle the double quote character.
Definition: lexer_utils.c:213
+
handle_comment
char * handle_comment(struct lexer *lexer, char *word, unsigned *word_index)
Handle the comment character.
Definition: lexer_utils.c:273
+
handle_double_quote
char * handle_double_quote(struct lexer *lexer, bool *is_diactivated, char *word, unsigned *word_index)
Handle the double quote character.
Definition: lexer_utils.c:215
handle_back_slash_in_double_quote
void handle_back_slash_in_double_quote(struct lexer *lexer, char *word, unsigned *word_index)
Handle the backslash character in a double quote.
Definition: lexer_utils2.c:100
handle_backslash
void handle_backslash(struct lexer *lexer, bool *is_diactivated, char *word, unsigned word_index)
Handle the backslash character.
Definition: lexer_utils.c:7
-
lexer_peek
struct token lexer_peek(struct lexer *lexer)
Get the next token, but doesn't move forward in the stream.*.
Definition: lexer.c:347
+
lexer_peek
struct token lexer_peek(struct lexer *lexer)
Get the next token, but doesn't move forward in the stream.*.
Definition: lexer.c:353
token_free
void token_free(struct token token)
Free the given token.
Definition: lexer.c:49
check_variable_name_simulated
bool check_variable_name_simulated(const char *data, int index)
Check if the current word is a valid variable name (simulated mode) meaning that pointers to the lexe...
Definition: lexer_utils2.c:37
append_end_of_word
char * append_end_of_word(char *word, unsigned word_index)
Realloc and append a null char at the end of the word.
Definition: lexer_utils.c:85
-
handle_redir
char * handle_redir(struct lexer *lexer, unsigned *word_index)
Handle the redirection character.
Definition: lexer_utils.c:300
+
handle_redir
char * handle_redir(struct lexer *lexer, unsigned *word_index)
Handle the redirection character.
Definition: lexer_utils.c:302
options.h
Header for options functions.
input
struct ast_node * input(struct lexer *lexer)
input = list ' ' | list EOF | ' ' | EOF ;
Definition: parser_element.c:11
lex_match
Structure representing a match between a string and a token type.
Definition: lexer.h:34