Changeset c8e4d2f8 for src/ResolvExpr/CandidateFinder.hpp
- Timestamp:
- Jun 18, 2019, 11:47:44 AM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a2a85658, b408364
- Parents:
- bc92bee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.hpp
rbc92bee rc8e4d2f8 27 27 /// Data to perform expression resolution 28 28 struct CandidateFinder { 29 CandidateList candidates; 30 const ast::SymbolTable & symtab; 31 const ast::TypeEnvironment & env; 32 ast::ptr< ast::Type > targetType = nullptr; ///< Target type for resolution29 CandidateList candidates; ///< List of candidate resolutions 30 const ast::SymbolTable & symtab; ///< Symbol table to lookup candidates 31 const ast::TypeEnvironment & env; ///< Substitutions performed in this resolution 32 ast::ptr< ast::Type > targetType; ///< Target type for resolution 33 33 34 CandidateFinder( const ast::SymbolTable & symtab, const ast::TypeEnvironment & env ) 35 : candidates(), symtab( symtab ), env( env ) {} 34 CandidateFinder( 35 const ast::SymbolTable & symtab, const ast::TypeEnvironment & env, 36 const ast::Type * tt = nullptr ) 37 : candidates(), symtab( symtab ), env( env ), targetType( tt ) {} 36 38 37 39 /// Fill candidates with feasible resolutions for `expr`
Note: See TracChangeset
for help on using the changeset viewer.