Ignore:
Timestamp:
May 17, 2019, 4:01:50 PM (5 years ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f6964ef
Parents:
74dbbf6
Message:

added old-to-new conversion for TypeSubstitution?, within a framework for expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TypeSubstitution.cc

    r74dbbf6 r172d9342  
    6262        } // if
    6363        typeEnv[ formalType ] = actualType->clone();
     64}
     65
     66void TypeSubstitution::addVar( std::string formalExpr, Expression *actualExpr ) {
     67        varEnv[ formalExpr ] = actualExpr;
    6468}
    6569
Note: See TracChangeset for help on using the changeset viewer.