mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-13 16:42:46 +08:00
![ridiculousfish](/assets/img/avatar_default.png)
Store the entire function declaration, not just its job list. This allows us to extract the body of the function complete with any leading comments and indents. Fixes #5285
14 lines
400 B
C++
14 lines
400 B
C++
// Prototypes for executing builtin_function function.
|
|
#ifndef FISH_BUILTIN_FUNCTION_H
|
|
#define FISH_BUILTIN_FUNCTION_H
|
|
|
|
#include "common.h"
|
|
#include "parse_tree.h"
|
|
|
|
class parser_t;
|
|
struct io_streams_t;
|
|
|
|
int builtin_function(parser_t &parser, io_streams_t &streams, const wcstring_list_t &c_args,
|
|
const parsed_source_ref_t &source, tnode_t<grammar::block_statement> body);
|
|
#endif
|