ppc-lang/include/treeifier/parsers/definition.hh

13 lines
330 B
C++
Raw Normal View History

2023-02-10 14:10:34 +00:00
#pragma once
#include "lang/common.hh"
#include "treeifier/tokenizer.hh"
#include "treeifier/constr.hh"
#include "treeifier/constructs/glob.hh"
namespace ppc::tree::parse {
class definition_parser_t {
public:
virtual bool operator()(parse_ctx_t &ctx, size_t &res_i, constr::definition_t &res) const = 0;
};
}