source: icGREP/icgrep-devel/icgrep/kernels/charclasses.h @ 5589

Last change on this file since 5589 was 5578, checked in by xuedongx, 2 years ago

make charclasses kernel unCachable

File size: 771 bytes
Line 
1/*
2 *  Copyright (c) 2017 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef CHARCLASSES_H
6#define CHARCLASSES_H
7
8#include <pablo/pablo_kernel.h>  // for PabloKernel
9#include <UCD/resolve_properties.h>
10
11namespace kernel { class KernelBuilder; }
12namespace IDISA { class IDISA_Builder; }
13namespace re { class RE; }
14namespace kernel {
15
16class CharClassesKernel : public pablo::PabloKernel {
17public:
18    CharClassesKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, std::vector<UCD::UnicodeSet> multiplexedCCs);
19    bool hasSignature() const override { return false; }
20protected:
21    void generatePabloMethod() override;
22protected:
23    std::vector<UCD::UnicodeSet> mMultiplexedCCs;
24};
25
26}
27#endif
Note: See TracBrowser for help on using the repository browser.