diff --git a/lexer_8h_source.html b/lexer_8h_source.html index 0280f68b..c133aa9c 100644 --- a/lexer_8h_source.html +++ b/lexer_8h_source.html @@ -145,18 +145,18 @@
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:194
+
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
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:267
-
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:209
+
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_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
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:296
+
handle_redir
char * handle_redir(struct lexer *lexer, unsigned *word_index)
Handle the redirection character.
Definition: lexer_utils.c:300
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