Ignore:
Timestamp:
Jun 23, 2015, 4:08:57 PM (4 years ago)
Author:
nmedfort
Message:

Temporary check-in

File:
1 edited

Legend:

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

    r4614 r4615  
    2020    static re::RE * toUTF8(CC_NameMap & nameMap, re::RE * ast);
    2121
    22     static bool isUTF8Prefix(const re::codepoint_t cp);
    23     static unsigned lenUTF8(const re::codepoint_t cp);
     22    static bool isPrefix(const re::codepoint_t cp);
     23    static unsigned length(const re::codepoint_t cp);
    2424    static re::codepoint_t maxCodePoint(const unsigned length);
    25     static re::codepoint_t u8byte(const re::codepoint_t cp, const unsigned n);
    26     static bool isLowCodePointAfterByte(const re::codepoint_t cp, const unsigned index);
    27     static bool isHighCodePointAfterByte(const re::codepoint_t cp, const unsigned index);
     25    static re::codepoint_t encodingByte(const re::codepoint_t cp, const unsigned n);
     26    static bool isLowCodePointAfterByte(const re::codepoint_t cp, const unsigned n);
     27    static bool isHighCodePointAfterByte(const re::codepoint_t cp, const unsigned n);
     28    static re::codepoint_t minCodePointWithCommonBytes(const re::codepoint_t cp, const unsigned n);
     29    static re::codepoint_t maxCodePointWithCommonBytes(const re::codepoint_t cp, const unsigned n);
    2830private:
    2931    static re::RE * rangeToUTF8(const re::interval_t & item);
Note: See TracChangeset for help on using the changeset viewer.