source: icGREP/icgrep-devel/icgrep/re/re_analysis.h @ 5649

Last change on this file since 5649 was 5649, checked in by cameron, 20 months ago

Some RE tidy-ups; an empty Alt is permitted and represents the set of no strings

File size: 441 bytes
Line 
1#ifndef RE_ANALYSIS_H
2#define RE_ANALYSIS_H
3
4#include <utility>
5namespace re { class RE; class Name;}
6
7namespace re {
8
9bool isByteLength(const RE * re);
10   
11bool isUnicodeUnitLength(const RE * re);
12
13std::pair<int, int> getUnicodeUnitLengthRange(const RE * re);
14
15int minMatchLength(RE * re);
16
17bool unitBoundedRep(const RE * re);
18
19bool isTypeForLocal(const RE * re);
20   
21void UndefinedNameError (const Name * n);
22
23}
24
25#endif // RE_ANALYSIS_H
Note: See TracBrowser for help on using the repository browser.