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

Last change on this file since 5812 was 5812, checked in by nmedfort, 16 months ago

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

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