Ignore:
Timestamp:
Jan 3, 2017, 3:59:33 PM (3 years ago)
Author:
nmedfort
Message:

Work on bracket matching problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r5231 r5245  
    153153    PabloAST * createScanThru(PabloAST * from, PabloAST * thru, const std::string & prefix);
    154154
     155    PabloAST * createScanTo(PabloAST * from, PabloAST * to) {
     156        return createScanThru(from, createNot(to));
     157    }
     158
     159    PabloAST * createScanTo(PabloAST * from, PabloAST * to, const std::string & prefix) {
     160        return createScanThru(from, createNot(to), prefix);
     161    }
     162
    155163    PabloAST * createSel(PabloAST * condition, PabloAST * trueExpr, PabloAST * falseExpr);
    156164
     
    255263    inline Integer * getInteger(const uint64_t value) const {
    256264        return mPb->getInteger(value);
     265    }
     266
     267    inline void print(raw_ostream & O, const bool expandNested = true) const {
     268        mPb->print(O, expandNested);
    257269    }
    258270
Note: See TracChangeset for help on using the changeset viewer.