feat: add glob parser

This commit is contained in:
TopchetoEU 2022-09-27 14:09:52 +03:00
parent 189ec9e4c6
commit 4f22f27dc7
2 changed files with 13 additions and 0 deletions

View File

@ -38,4 +38,6 @@ namespace ppc::comp::tree::ast {
group_parser_t(); group_parser_t();
}; };
extern const constr_parser_t &glob_parser;
} }

View File

@ -0,0 +1,11 @@
#include "compiler/treeifier/ast.hh"
namespace ppc::comp::tree::ast {
class glob_parser_t : public constr_parser_t {
bool parse(messages::msg_stack_t &messages, vec_slice_t<tok::token_t> &tokens, data::map_t &out) {
}
};
const constr_parser_t &glob_parser = glob_parser_t();
}