Ignore:
Timestamp:
Dec 28, 2017, 1:15:13 PM (15 months ago)
Author:
nmedfort
Message:

Bug fix for RE local + some clean up of RE local and the RE Compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_local.h

    r5632 r5812  
    22#define RE_LOCAL_H
    33
    4 #include <UCD/ucd_compiler.hpp>
    5 #include <map>
    6 
    74namespace re {
    85
    9 class RE;
     6class RE; class CC;
    107
    11 class RE_Local {
    12 public:
    13     static CC * first(RE * re);
    14     static CC * final(RE * re);
    15     static void follow(RE * re, std::map<CC*, CC*> &follow_map);
    16         static bool isLocalLanguage(RE * re);
    17 private:
    18         static bool isLocalLanguage_helper(const RE * re, UCD::UnicodeSet & seen);
    19         static bool isNullable(const RE * re);
     8struct RE_Local {
     9    static CC * getFirstUniqueSymbol(RE * re);
    2010};
    2111
Note: See TracChangeset for help on using the changeset viewer.