2017-06-13 12:56:20 -07:00
|
|
|
// Prototypes for executing builtin_function function.
|
|
|
|
#ifndef FISH_BUILTIN_FUNCTION_H
|
|
|
|
#define FISH_BUILTIN_FUNCTION_H
|
|
|
|
|
2017-06-15 17:57:37 -07:00
|
|
|
#include "common.h"
|
2018-02-09 21:53:06 -08:00
|
|
|
#include "parse_tree.h"
|
2017-06-15 17:57:37 -07:00
|
|
|
|
2017-06-13 12:56:20 -07:00
|
|
|
class parser_t;
|
|
|
|
struct io_streams_t;
|
|
|
|
|
2020-07-03 11:16:51 -07:00
|
|
|
namespace ast {
|
|
|
|
struct block_statement_t;
|
|
|
|
}
|
|
|
|
|
2020-07-18 10:25:43 -07:00
|
|
|
maybe_t<int> builtin_function(parser_t &parser, io_streams_t &streams, const wcstring_list_t &c_args,
|
2020-07-03 11:16:51 -07:00
|
|
|
const parsed_source_ref_t &source, const ast::block_statement_t &func_node);
|
2017-06-13 12:56:20 -07:00
|
|
|
#endif
|