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