#ifndef AST_PIPE_H #define AST_PIPE_H #include "ast_base.h" struct ast_pipe { struct ast* left; struct ast* right; // Output of left will be redirected to right stdin }; bool ast_is_pipe(struct ast *node); struct ast_pipe *ast_get_pipe(struct ast *node); struct ast *ast_create_pipe(struct ast* left, struct ast* right); void ast_free_pipe(struct ast_pipe* node); #endif /* ! AST_PIPE_H */