Changeset 7aa209e7 for src/ResolvExpr/CandidateFinder.hpp
- Timestamp:
- Apr 17, 2024, 10:50:36 AM (21 months ago)
- Branches:
- master
- Children:
- 8fd53b6e
- Parents:
- 710d0c8c
- File:
-
- 1 edited
-
src/ResolvExpr/CandidateFinder.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.hpp
r710d0c8c r7aa209e7 30 30 struct CandidateFinder { 31 31 CandidateList candidates; ///< List of candidate resolutions 32 const ResolveContext & context; ///< Information about where the canditates are being found.32 const ResolveContext & context; ///< Information about where the canditates are being found. 33 33 const ast::TypeEnvironment & env; ///< Substitutions performed in this resolution 34 34 ast::ptr< ast::Type > targetType; ///< Target type for resolution 35 35 bool strictMode = false; ///< If set to true, requires targetType to be exact match (inside return cast) 36 36 bool allowVoid = false; ///< If set to true, allow void-returning function calls (only top level, cast to void and first in comma) 37 std::set< std::string > otypeKeys; ///different type may map to same key37 std::set< std::string > otypeKeys; ///< different type may map to same key 38 38 39 39 CandidateFinder( … … 70 70 const ast::Expr * expr, Cost & cost ); 71 71 72 const ast::Expr * getValueEnumCall(const ast::Expr * expr, 73 const ResolvExpr::ResolveContext & context, const ast::TypeEnvironment & env ); 72 /// Get the valueE application that returns the enum's value. 73 const ast::Expr * getValueEnumCall( const ast::Expr * expr, 74 const ResolveContext & context, const ast::TypeEnvironment & env ); 75 74 76 /// Wrap an expression to convert the result to a conditional result. 75 77 const ast::Expr * createCondExpr( const ast::Expr * expr );
Note:
See TracChangeset
for help on using the changeset viewer.