source: icGREP/icgrep-devel/icgrep/re_seq.h @ 3935

Last change on this file since 3935 was 3935, checked in by daled, 5 years ago

The parser is now able to parse unicode categories.

File size: 686 bytes
Line 
1/*
2 *  Copyright (c) 2014 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 JOIN_H
8#define JOIN_H
9
10#include "re_re.h"
11#include "re_cc.h"
12#include <list>
13#include <sstream>
14#include <utility>
15
16class Seq : public RE
17{
18public:
19    typedef enum {Normal,Byte} Type;
20    Seq();
21    Seq(std::list<RE*>* lst);
22    Seq(std::list<RE*> lst);
23    ~Seq();
24    std::list<RE*>* GetREList();
25    void AddREListItem(RE *re);
26    std::string getName();
27    Type getType();
28    void setType(Type type);
29private:
30    std::list<RE*>* mList;
31    Type mType;
32};
33
34#endif // JOIN_H
35
36
37
38
Note: See TracBrowser for help on using the repository browser.