Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.h

    r302ef2a r18e683b  
    3535        class StmtExpr;
    3636        class SymbolTable;
    37         struct TranslationUnit;
    3837        class Type;
    3938        class TypeEnvironment;
     
    5655
    5756        /// 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 );
    5958        /// Searches expr and returns the first DeletedExpr found, otherwise nullptr
    6059        const ast::DeletedExpr * findDeletedExpr( const ast::Expr * expr );
     
    6362        ast::ptr< ast::Expr > resolveInVoidContext(
    6463                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 
    6665        /// given type.
    6766        ast::ptr< ast::Expr > findSingleExpression(
    6867                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);
    7168        /// Resolves a constructor init expression
    72         ast::ptr< ast::Init > resolveCtorInit(
     69        ast::ptr< ast::Init > resolveCtorInit( 
    7370                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(
    7673                const ast::StmtExpr * stmtExpr, const ast::SymbolTable & symtab );
    7774} // namespace ResolvExpr
Note: See TracChangeset for help on using the changeset viewer.