source: icGREP/icgrep-devel/icgrep/re/re_local.h @ 5620

Last change on this file since 5620 was 5620, checked in by nmedfort, 23 months ago

Bug fixes for multigrep mode. Optional PabloKernel? branch hit counter added. Minor optimizations.

File size: 464 bytes
Line 
1#ifndef RE_LOCAL_H
2#define RE_LOCAL_H
3
4#include <UCD/ucd_compiler.hpp>
5#include <map>
6
7namespace re {
8
9class RE;
10
11class RE_Local {
12public:
13    static CC * first(RE * re);
14    static CC * final(RE * re);
15    static void follow(RE * re, std::map<CC*, CC*> &follow_map);
16        static bool isLocalLanguage(RE * re);
17private:
18        static RE * collect_UnicodeSets_helper(RE * re, std::vector<UCD::UnicodeSet> & UnicodeSets);
19        static bool isNullable(const RE * re);
20};
21
22}
23
24#endif
Note: See TracBrowser for help on using the repository browser.