source: icGREP/icgrep-devel/icgrep/re/parse_fixed_strings.h @ 5789

Last change on this file since 5789 was 5787, checked in by cameron, 16 months ago

RE parser restructuring; parsing symbolic ranges, collation and equivalence exprs

File size: 628 bytes
Line 
1/*
2 *  Copyright (c) 2017 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef PARSE_FIXED_STRINGS_H
8#define PARSE_FIXED_STRINGS_H
9#include <re/re_parser.h>
10
11namespace re {
12    class FixedStringParser : public RE_Parser {
13    public:
14        FixedStringParser(const std::string & regular_expression) : RE_Parser(regular_expression) {
15            mReSyntax = RE_Syntax::FixedStrings;
16        }
17        RE * parse_alt () override;
18        RE * parse_seq () override;
19    };
20}
21
22#endif //PARSE_FIXED_STRINGS_H
Note: See TracBrowser for help on using the repository browser.