Changes in src/ResolvExpr/Resolver.h [302ef2a:18e683b]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.h
r302ef2a r18e683b 35 35 class StmtExpr; 36 36 class SymbolTable; 37 struct TranslationUnit;38 37 class Type; 39 38 class TypeEnvironment; … … 56 55 57 56 /// Checks types and binds syntactic constructs to typed representations 58 void resolve( ast::TranslationUnit& translationUnit );57 void resolve( std::list< ast::ptr<ast::Decl> >& translationUnit ); 59 58 /// Searches expr and returns the first DeletedExpr found, otherwise nullptr 60 59 const ast::DeletedExpr * findDeletedExpr( const ast::Expr * expr ); … … 63 62 ast::ptr< ast::Expr > resolveInVoidContext( 64 63 const ast::Expr * expr, const ast::SymbolTable & symtab, ast::TypeEnvironment & env ); 65 /// Resolve `untyped` to the single expression whose candidate is the best match for the 64 /// Resolve `untyped` to the single expression whose candidate is the best match for the 66 65 /// given type. 67 66 ast::ptr< ast::Expr > findSingleExpression( 68 67 const ast::Expr * untyped, const ast::Type * type, const ast::SymbolTable & symtab ); 69 ast::ptr< ast::Expr > findVoidExpression(70 const ast::Expr * untyped, const ast::SymbolTable & symtab);71 68 /// Resolves a constructor init expression 72 ast::ptr< ast::Init > resolveCtorInit( 69 ast::ptr< ast::Init > resolveCtorInit( 73 70 const ast::ConstructorInit * ctorInit, const ast::SymbolTable & symtab ); 74 /// Resolves a statement expression 75 const ast::Expr * resolveStmtExpr(71 /// Resolves a statement expression 72 ast::ptr< ast::Expr > resolveStmtExpr( 76 73 const ast::StmtExpr * stmtExpr, const ast::SymbolTable & symtab ); 77 74 } // namespace ResolvExpr
Note:
See TracChangeset
for help on using the changeset viewer.