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_or.h

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