- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.hpp
r39d8950 r1389810 10 10 // Created On : Wed Jun 5 14:30:00 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Mar 16 15:22:00 202213 // Update Count : 312 // Last Modified On : Tue Oct 1 9:51:00 2019 13 // Update Count : 2 14 14 // 15 15 … … 25 25 namespace ResolvExpr { 26 26 27 struct ResolveContext;28 29 27 /// Data to perform expression resolution 30 28 struct CandidateFinder { 31 29 CandidateList candidates; ///< List of candidate resolutions 32 const ResolveContext & context; ///< Information about where the canditates are being found.30 const ast::SymbolTable & localSyms; ///< Symbol table to lookup candidates 33 31 const ast::TypeEnvironment & env; ///< Substitutions performed in this resolution 34 32 ast::ptr< ast::Type > targetType; ///< Target type for resolution … … 36 34 37 35 CandidateFinder( 38 const ResolveContext & context, const ast::TypeEnvironment & env,36 const ast::SymbolTable & syms, const ast::TypeEnvironment & env, 39 37 const ast::Type * tt = nullptr ) 40 : candidates(), context( context), env( env ), targetType( tt ) {}38 : candidates(), localSyms( syms ), env( env ), targetType( tt ) {} 41 39 42 40 /// Fill candidates with feasible resolutions for `expr`
Note:
See TracChangeset
for help on using the changeset viewer.