Ignore:
Timestamp:
Sep 23, 2016, 4:12:41 PM (3 years ago)
Author:
nmedfort
Message:

Initial work for incorporating Types into Pablo AST.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pe_and.h

    r4886 r5160  
    2323    virtual ~And() { }
    2424protected:
    25     And(PabloAST * expr1, PabloAST * expr2, String * name)
    26     : Variadic(ClassTypeId::And, {expr1, expr2}, name)
     25    And(const PabloType * const type, PabloAST * expr1, PabloAST * expr2, String * name)
     26    : Variadic(ClassTypeId::And, type, {expr1, expr2}, name)
    2727    {
    2828
    2929    }
    30     And(const unsigned reserved, String * name)
    31     : Variadic(ClassTypeId::And, reserved, name)
     30    And(const PabloType * const type, const unsigned reserved, String * name)
     31    : Variadic(ClassTypeId::And, type, reserved, name)
    3232    {
    3333
    3434    }
    3535    template<typename iterator>
    36     And(iterator begin, iterator end, String * name)
    37     : Variadic(ClassTypeId::And, begin, end, name) {
     36    And(const PabloType * const type, iterator begin, iterator end, String * name)
     37    : Variadic(ClassTypeId::And, type, begin, end, name) {
    3838
    3939    }
Note: See TracChangeset for help on using the changeset viewer.