Ignore:
Timestamp:
Dec 9, 2017, 5:23:39 AM (17 months ago)
Author:
cameron
Message:

Decoupling case-insensitive transform from parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/grep_kernel.h

    r5646 r5769  
    1111namespace re { class RE; }
    1212namespace kernel {
    13 
    14 struct RegularExpressionOptimizer {
    15     RegularExpressionOptimizer(re::RE * re_ast);
    16 protected:
    17     re::RE * const  mRE;
    18     std::string     mSignature;
    19 };
    20 
    2113
    2214   
     
    4032
    4133
    42 class ICGrepKernel : public RegularExpressionOptimizer, public pablo::PabloKernel {
     34struct ICGrepSignature {
     35    ICGrepSignature(re::RE * re_ast);
     36protected:
     37    re::RE * const  mRE;
     38    std::string     mSignature;
     39};
     40
     41   
     42class ICGrepKernel : public ICGrepSignature, public pablo::PabloKernel {
    4343public:
    4444    ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, re::RE * const re_ast, const unsigned numOfCharacterClasses = 8);
Note: See TracChangeset for help on using the changeset viewer.