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

Last change on this file was 5869, checked in by cameron, 5 months ago

excludeNullable transform

File size: 515 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 * excludeNullable(RE * re);
12    static RE * removeNullablePrefix(RE * re);
13    static RE * removeNullableSuffix(RE * re);
14    static bool isNullable(const RE * re);
15    static bool hasNullablePrefix(const RE * re);
16    static bool hasNullableSuffix(const RE * re);
17private:
18    static bool isNullable(const Vector * vec);
19};
20
21}
22
23#endif // RE_NULLABLE_H
Note: See TracBrowser for help on using the repository browser.