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/AST/TypeSubstitution.cpp

    r74dbbf6 r172d9342  
    5858void TypeSubstitution::add( std::string formalType, const Type *actualType ) {
    5959        typeEnv[ formalType ] = actualType;
     60}
     61
     62void TypeSubstitution::addVar( std::string formalExpr, const Expr *actualExpr ) {
     63        varEnv[ formalExpr ] = actualExpr;
    6064}
    6165
Note: See TracChangeset for help on using the changeset viewer.