2016-05-03 00:22:44 +00:00
|
|
|
// The fish parser.
|
2005-10-04 15:11:39 +00:00
|
|
|
#ifndef FISH_PARSER_H
|
|
|
|
#define FISH_PARSER_H
|
|
|
|
|
2016-04-21 06:00:54 +00:00
|
|
|
#include <stddef.h>
|
2017-02-11 02:47:02 +00:00
|
|
|
|
|
|
|
#include <csignal>
|
2022-08-21 06:14:48 +00:00
|
|
|
#include <cstdint>
|
|
|
|
#include <deque>
|
2016-04-21 06:00:54 +00:00
|
|
|
#include <list>
|
2017-02-11 02:47:02 +00:00
|
|
|
#include <memory>
|
2022-08-21 06:14:48 +00:00
|
|
|
#include <utility>
|
2016-04-21 06:00:54 +00:00
|
|
|
#include <vector>
|
2005-10-04 15:11:39 +00:00
|
|
|
|
2016-05-03 00:22:44 +00:00
|
|
|
#include "proc.h"
|
2015-07-25 15:14:25 +00:00
|
|
|
|
2023-10-08 21:22:27 +00:00
|
|
|
struct Parser;
|
2023-10-08 21:10:05 +00:00
|
|
|
using parser_t = Parser;
|
|
|
|
|
2023-01-14 22:56:24 +00:00
|
|
|
#if INCLUDE_RUST_HEADERS
|
2023-10-08 21:22:27 +00:00
|
|
|
#include "parser.rs.h"
|
|
|
|
#else
|
|
|
|
struct EvalRes;
|
2023-01-14 22:56:24 +00:00
|
|
|
#endif
|
2020-01-16 01:14:47 +00:00
|
|
|
|
2023-10-08 21:22:27 +00:00
|
|
|
using eval_res_t = EvalRes;
|
2006-09-05 20:43:47 +00:00
|
|
|
|
2005-10-04 15:11:39 +00:00
|
|
|
#endif
|