#pragma once #include "bnf.h" #include "minicc.h" class Compiler { private: const BNF &m_bnf; const std::string& m_Top; std::map> ReverseBNF; public: Compiler(const BNF& bnf, const std::string& Top); ProgramNode compile(std::vector Tokens); };