MiniDevil
As beautiful as a shell
Pipeline parsing: builds left associative pipe tree. More...
Include dependency graph for parser_pipeline.c:Pipeline parsing: builds left associative pipe tree.
Definition in file parser_pipeline.c.
Functions | |
| t_ast * | parse_pipeline (t_token **tokens) |
| Parse a pipeline of commands connected by pipes. More... | |
Parse a pipeline of commands connected by pipes.
Left associative tree: "A | B | C" -> PIPE(PIPE(A, B), C)
| tokens | Pointer to current token pointer |
Definition at line 25 of file parser_pipeline.c.
References create_pipe_node(), free_ast(), t_token::next, parse_command(), TOKEN_PIPE, and t_token::type.
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function: