mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Adopt the new AST in parse_execution
parse_execution is what turns a parsed tree into jobs, etc. Switch it from parse_tree to the new AST.
This commit is contained in:
@@ -300,9 +300,9 @@ class parser_t : public std::enable_shared_from_this<parser_t> {
|
||||
block_type_t block_type = block_type_t::top);
|
||||
|
||||
/// Evaluates a node.
|
||||
/// The node type must be grammar::statement or grammar::job_list.
|
||||
/// The node type must be ast_t::statement_t or ast::job_list_t.
|
||||
template <typename T>
|
||||
eval_res_t eval_node(const parsed_source_ref_t &ps, tnode_t<T> node, const io_chain_t &block_io,
|
||||
eval_res_t eval_node(const parsed_source_ref_t &ps, const T &node, const io_chain_t &block_io,
|
||||
const job_group_ref_t &job_group,
|
||||
block_type_t block_type = block_type_t::top);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user