mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
More work on instancing the parser
This commit is contained in:
3
parser.h
3
parser.h
@@ -187,6 +187,8 @@ enum parser_type_t {
|
||||
PARSER_TYPE_COMPLETIONS_ONLY
|
||||
};
|
||||
|
||||
struct profile_item_t;
|
||||
|
||||
class parser_t {
|
||||
private:
|
||||
std::vector<block_t> blocks;
|
||||
@@ -196,6 +198,7 @@ class parser_t {
|
||||
parser_t& operator=(const parser_t&);
|
||||
|
||||
public:
|
||||
std::vector<profile_item_t> profile_items;
|
||||
|
||||
/** Create a parser of the given type */
|
||||
parser_t(enum parser_type_t type);
|
||||
|
||||
Reference in New Issue
Block a user