Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: compiled/RegExpFilter.h

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Back to manual approach for API Created Jan. 18, 2016, 12:41 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « compiled/InvalidFilter.cpp ('k') | compiled/RegExpFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef ADBLOCK_PLUS_REG_EXP_FILTER_H
2 #define ADBLOCK_PLUS_REG_EXP_FILTER_H
3
4 #include <string>
5
6 #include "Filter.h"
7 #include "ActiveFilter.h"
8
9 class RegExpFilter : public ActiveFilter
10 {
11 private:
12 int regexpId;
13 std::u16string regexpSource;
14 public:
15 explicit RegExpFilter(const std::u16string& text, const std::u16string& patter n,
16 const std::u16string& options);
17 ~RegExpFilter();
18 static Filter* Create(const std::u16string& text);
19 Type GetType() const;
20 bool Matches(const std::u16string& location);
21 };
22
23 #endif
OLDNEW
« no previous file with comments | « compiled/InvalidFilter.cpp ('k') | compiled/RegExpFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld