Ignore:
Timestamp:
May 5, 2016, 11:08:09 AM (3 years ago)
Author:
cameron
Message:

Restructure regular expression command flags

File:
1 edited

Legend:

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

    r4984 r5030  
    11/*
    2  *  Copyright (c) 2015 International Characters.
     2 *  Copyright (c) 2016 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    1212#include <re/re_re.h>
    1313#include <pablo/function.h>
     14#include <llvm/Support/CommandLine.h>
    1415
    15 re::RE * regular_expression_passes(const Encoding encoding, re::RE * re_ast);
     16namespace re {
    1617
    17 pablo::PabloFunction * re2pablo_compiler(const Encoding encoding, re::RE * re_ast);
     18enum RE_PrintFlags {
     19    PrintAllREs, PrintParsedREs, PrintStrippedREs, PrintSimplifiedREs
     20};
     21   
     22enum RE_AlgorithmFlags {
     23    DisableLog2BoundedRepetition, DisableIfHierarchy, DisableMatchStar, DisableUnicodeMatchStar,
     24    DisableUnicodeLineBreak, InvertMatches, UsePregeneratedUnicode
     25};
     26   
     27bool AlgorithmOptionIsSet(RE_AlgorithmFlags flag);
     28   
     29extern int IfInsertionGap;
    1830
     31const cl::OptionCategory * re_toolchain_flags();
     32
     33RE * regular_expression_passes(const Encoding encoding, RE * re_ast);
     34
     35pablo::PabloFunction * re2pablo_compiler(const Encoding encoding, RE * re_ast);
     36   
     37}
    1938#endif
Note: See TracChangeset for help on using the changeset viewer.