Changes in src/AST/Pass.hpp [3e5dd913:361bf01]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
r3e5dd913 r361bf01 34 34 35 35 #include "AST/SymbolTable.hpp" 36 37 #include "AST/ForallSubstitutionTable.hpp" 36 38 37 39 // Private prelude header, needed for some of the magic tricks this class pulls off … … 64 66 // | WithVisitorRef - provides an pointer to the templated visitor wrapper 65 67 // | WithSymbolTable - provides symbol table functionality 68 // | WithForallSubstitutor - maintains links between TypeInstType and TypeDecl under mutation 66 69 // 67 70 // Other Special Members: … … 255 258 container_t< ptr<node_t> > call_accept( const container_t< ptr<node_t> > & container ); 256 259 260 /// Mutate forall-list, accounting for presence of type substitution map 261 template<typename node_t> 262 void mutate_forall( const node_t *& ); 263 257 264 public: 258 265 /// Logic to call the accept and mutate the parent if needed, delegates call to accept … … 391 398 }; 392 399 400 /// Use when the templated visitor needs to keep TypeInstType instances properly linked to TypeDecl 401 struct WithForallSubstitutor { 402 ForallSubstitutionTable subs; 403 }; 404 393 405 } 394 406
Note: See TracChangeset
for help on using the changeset viewer.