diff options
Diffstat (limited to 'bnf.h')
-rw-r--r-- | bnf.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,3 +15,5 @@ std::unordered_map<std::string, std::set<std::string>> Reverse(BNF bnf); // unus std::unordered_map<std::string, std::set<std::string>> reverseFirst(BNF bnf); BNF SubBNF(const BNF& bnf, const std::string& top); + +bool isTerminal(const BNF& bnf, const std::string& symbol); |