source: icGREP/icgrep-devel/icgrep/UCD/resolve_properties.h @ 4885

Last change on this file since 4885 was 4817, checked in by cameron, 4 years ago

Missing include

File size: 707 bytes
Line 
1#ifndef RESOLVE_PROPERTIES_H
2#define RESOLVE_PROPERTIES_H
3
4#include <string>
5#include <UCD/unicode_set.h>
6
7namespace re {
8    class RE;
9    class Name;   
10}
11
12namespace UCD {
13
14class UnicodePropertyExpressionError : public std::exception {
15public:
16    UnicodePropertyExpressionError(const std::string && msg) noexcept : _msg(msg) {}
17    const char* what() const noexcept { return _msg.c_str();}
18private:
19    inline UnicodePropertyExpressionError() noexcept {}
20    const std::string _msg;
21};
22
23bool resolvePropertyDefinition(re::Name * const property);
24std::string resolvePropertyFunction(re::Name * const property);
25UCD::UnicodeSet resolveUnicodeSet(re::Name * const name);
26
27}
28
29#endif // RESOLVE_PROPERTIES_H
Note: See TracBrowser for help on using the repository browser.