source: icGREP/icgrep-devel/icgrep/re/re_nullable.h

Last change on this file was 5812, checked in by nmedfort, 3 weeks ago

Bug fix for RE local + some clean up of RE local and the RE Compiler

File size: 473 bytes
Line 
1#ifndef RE_NULLABLE_H
2#define RE_NULLABLE_H
3
4namespace re { class RE; }
5namespace re { class Vector; }
6
7namespace re {
8
9class RE_Nullable {
10public:
11    static RE * removeNullablePrefix(RE * re);
12    static RE * removeNullableSuffix(RE * re);
13    static bool isNullable(const RE * re);
14    static bool hasNullablePrefix(const RE * re);
15    static bool hasNullableSuffix(const RE * re);
16private:
17    static bool isNullable(const Vector * vec);
18};
19
20}
21
22#endif // RE_NULLABLE_H
Note: See TracBrowser for help on using the repository browser.