Ignore:
Timestamp:
Dec 9, 2017, 5:23:39 AM (19 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.cpp

    r5768 r5769  
    3737}
    3838
    39 RegularExpressionOptimizer::RegularExpressionOptimizer(re::RE * const re_ast)
    40 : mRE(re_ast)
    41 , mSignature(Printer_RE::PrintRE(mRE)) {
    42 
    43 }
    44 
    4539void RequiredStreams_UTF8::generatePabloMethod() {
    4640   
     
    177171
    178172
     173ICGrepSignature::ICGrepSignature(re::RE * const re_ast)
     174: mRE(re_ast)
     175, mSignature(Printer_RE::PrintRE(mRE)) {
     176   
     177}
     178
    179179ICGrepKernel::ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, RE * const re, unsigned numOfCharacterClasses)
    180 : RegularExpressionOptimizer(re)
     180: ICGrepSignature(re)
    181181, PabloKernel(iBuilder,
    182182              "ic" + sha1sum(mSignature),
Note: See TracChangeset for help on using the changeset viewer.