source: icGREP/icgrep-devel/icgrep/editd/pattern_compiler.h @ 5402

Last change on this file since 5402 was 5267, checked in by nmedfort, 2 years ago

Code clean-up. Removed Pablo Call, SetIthBit? and Prototype.

  • Property svn:executable set to *
File size: 746 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 PATTERN_COMPILER_H
8#define PATTERN_COMPILER_H
9
10#include <string>
11#include <vector>
12namespace pablo { class PabloAST; }
13namespace pablo { class PabloBuilder; }
14namespace pablo { class PabloKernel; }
15
16namespace re {
17
18class Pattern_Compiler {
19public:
20
21    Pattern_Compiler(pablo::PabloKernel & kernel);
22
23    void compile(const std::vector<std::string> & patterns, pablo::PabloBuilder & pb, pablo::PabloAST *basisBits[], int dist, unsigned optPosition, int stepSize);
24
25private:
26
27    pablo::PabloKernel & mKernel;
28};
29
30}
31
32#endif // PATTERN_COMPILER_H
Note: See TracBrowser for help on using the repository browser.