25 lines
356 B
C
25 lines
356 B
C
|
|
/* @brief Parses a simple list of words (command and arguments)
|
||
|
|
* and returns the resulting ast
|
||
|
|
*/
|
||
|
|
struct ast *parse_simple_command(void);
|
||
|
|
|
||
|
|
/*
|
||
|
|
*/
|
||
|
|
struct ast *parse_if_rule(void);
|
||
|
|
|
||
|
|
/*
|
||
|
|
*/
|
||
|
|
struct ast *parse_shell_command(void);
|
||
|
|
|
||
|
|
/*
|
||
|
|
*/
|
||
|
|
struct ast* parse_compound_list(void);
|
||
|
|
|
||
|
|
/*
|
||
|
|
*/
|
||
|
|
struct ast* parse_and_or(void);
|
||
|
|
|
||
|
|
/*
|
||
|
|
*/
|
||
|
|
struct ast* else_clause(void);
|