summaryrefslogtreecommitdiffstats
path: root/src/generator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.hpp')
-rw-r--r--src/generator.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/generator.hpp b/src/generator.hpp
index 74108d7..d9bcaf6 100644
--- a/src/generator.hpp
+++ b/src/generator.hpp
@@ -39,6 +39,12 @@ private:
std::multimap<std::string, item_t> rules;
std::multimap<symbol_t, item_t> items;
+ void close_set(std::set<item_t> *set);
+ std::set<item_t> get_set(const std::string &nonterm);
+
+ void print_item(const item_t &item);
+ void print_set(const std::set<item_t> &set);
+
public:
generator_t(const std::set<item_t> &rules0);
};