Changeset 93c10de for src/AST/TypeSubstitution.hpp
- Timestamp:
- Nov 24, 2022, 11:01:37 AM (21 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 82a90d4
- Parents:
- 78de1e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r78de1e5 r93c10de 72 72 73 73 void add( const TypeInstType * formalType, const Type *actualType ); 74 void add( const Type InstType::TypeEnvKey & key, const Type *actualType );74 void add( const TypeEnvKey & key, const Type *actualType ); 75 75 void add( const TypeSubstitution &other ); 76 76 void remove( const TypeInstType * formalType ); 77 const Type *lookup( const Type InstType::TypeEnvKey & formalType ) const;77 const Type *lookup( const TypeEnvKey & formalType ) const; 78 78 const Type *lookup( const TypeInstType * formalType ) const; 79 79 bool empty() const; … … 105 105 friend class Pass; 106 106 107 typedef std::unordered_map< Type InstType::TypeEnvKey, ptr<Type> > TypeMap;107 typedef std::unordered_map< TypeEnvKey, ptr<Type> > TypeMap; 108 108 TypeMap typeMap; 109 109 … … 184 184 int subCount = 0; 185 185 bool freeOnly; 186 typedef std::unordered_set< Type InstType::TypeEnvKey > BoundVarsType;186 typedef std::unordered_set< TypeEnvKey > BoundVarsType; 187 187 BoundVarsType boundVars; 188 188
Note: See TracChangeset
for help on using the changeset viewer.