Changeset 8d182b1 for src/ResolvExpr/Resolver.h
- Timestamp:
- Nov 14, 2023, 12:19:09 PM (23 months ago)
- Branches:
- master
- Children:
- 1ccae59, 89a8bab
- Parents:
- df8ba61a (diff), 5625427 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.h
rdf8ba61a r8d182b1 16 16 #pragma once 17 17 18 #include <list> // for list19 20 18 #include "AST/Node.hpp" // for ptr 21 22 class ConstructorInit;23 class Declaration;24 class Expression;25 class DeletedExpr;26 class StmtExpr;27 class Type;28 namespace SymTab {29 class Indexer;30 } // namespace SymTab31 19 32 20 namespace ast { … … 45 33 46 34 namespace ResolvExpr { 47 /// Checks types and binds syntactic constructs to typed representations48 void resolve( std::list< Declaration * > translationUnit );49 void resolveDecl( Declaration *, const SymTab::Indexer & indexer );50 Expression *resolveInVoidContext( Expression * expr, const SymTab::Indexer & indexer );51 void findVoidExpression( Expression *& untyped, const SymTab::Indexer & indexer );52 void findSingleExpression( Expression *& untyped, const SymTab::Indexer & indexer );53 void findSingleExpression( Expression *& untyped, Type * type, const SymTab::Indexer & indexer );54 void resolveCtorInit( ConstructorInit * ctorInit, const SymTab::Indexer & indexer );55 void resolveStmtExpr( StmtExpr * stmtExpr, const SymTab::Indexer & indexer );56 /// Searches expr and returns the first DeletedExpr found, otherwise nullptr57 DeletedExpr * findDeletedExpr( Expression * expr );58 /// Resolves with-stmts and with-clauses on functions59 void resolveWithExprs( std::list< Declaration * > & translationUnit );60 35 61 36 /// Helper Type: Passes around information between various sub-calls.
Note:
See TracChangeset
for help on using the changeset viewer.