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