#pragma once #include #include #include #include #include #include using namespace std::string_literals; using BNF = std::map>>; using Terminals = std::set; using PathElement = std::pair; // Name, Index std::map> Reverse(BNF bnf);