Ignore:
Timestamp:
Sep 27, 2014, 11:12:13 PM (5 years ago)
Author:
nmedfort
Message:

Modified RE module to use a LLVM-like dyn_cast system; added 'make' functions to hide RE constructors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/utf8_encoder.h

    r4187 r4194  
    1616{
    1717public:
    18     static RE* toUTF8(RE * re);
     18    static re::RE* toUTF8(re::RE * re);
    1919private:
    20     static RE* rangeToUTF8(const CharSetItem &item);
    21     static RE* rangeToUTF8_helper(int lo, int hi, int n, int hlen);
    22     static CC* makeByteClass(int byteval);
    23     static CC* makeByteRange(int lo, int hi);
     20    static re::RE* rangeToUTF8(const re::CharSetItem &item);
     21    static re::RE* rangeToUTF8_helper(int lo, int hi, int n, int hlen);
     22    static re::CC* makeByteClass(int byteval);
     23    static re::CC* makeByteRange(int lo, int hi);
    2424
    2525    static bool u8Prefix(int cp);
Note: See TracChangeset for help on using the changeset viewer.