source: icGREP/icgrep-devel/icgrep/re/re_end.h @ 6226

Last change on this file since 6226 was 6226, checked in by cameron, 9 months ago

Clean-up/refactoring step for REs

File size: 472 bytes
Line 
1/*
2 *  Copyright (c) 2018 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 END_H
8#define END_H
9
10#include "re_re.h"
11
12namespace re {
13
14class End : public RE {
15public:
16    static End * Create() {return new End();}
17    RE_SUBTYPE(End)
18private:
19    End() : RE(ClassTypeId::End) {}
20};
21
22inline End * makeEnd() {return End::Create();}
23
24}
25
26#endif // END_H
Note: See TracBrowser for help on using the repository browser.