~emersion/mrsh

ref: ad8a6edce9ece4b29acde65c5e7128e49dae0c84 mrsh/include/shell/tasks.h -rw-r--r-- 695 bytes
ad8a6edc — delthas builtin/read: implement field splitting 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SHELL_TASKS_H
#define _SHELL_TASKS_H

#include <mrsh/ast.h>
#include "shell/task.h"

struct task *task_for_simple_command(struct mrsh_simple_command *sc);
struct task *task_for_node(struct mrsh_node *node);
struct task *task_for_command_list_array(struct mrsh_array *array);
struct task *task_for_command(struct mrsh_command *cmd);
struct task *task_for_if_clause(struct mrsh_if_clause *ic);
struct task *task_for_loop_clause(struct mrsh_loop_clause *lc);
struct task *task_for_command(struct mrsh_command *cmd);
struct task *task_for_pipeline(struct mrsh_pipeline *pl);
struct task *task_for_binop(struct mrsh_binop *binop);
struct task *task_for_node(struct mrsh_node *node);

#endif