Changeset 7bcb8eb
- Timestamp:
 - Sep 27, 2017, 4:04:57 PM (8 years ago)
 - Branches:
 - ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
 - Children:
 - ec010a9
 - Parents:
 - b6d6e97
 - File:
 - 
      
- 1 edited
 
- 
          
  src/SynTree/VarExprReplacer.h (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/SynTree/VarExprReplacer.h
rb6d6e97 r7bcb8eb 29 29 private: 30 30 const DeclMap & declMap; 31 bool debug;31 bool debug; 32 32 public: 33 33 VarExprReplacer( const DeclMap & declMap, bool debug = false ); … … 35 35 // replace variable with new node from decl map 36 36 virtual void visit( VariableExpr * varExpr ); 37 38 static void replace( BaseSyntaxNode * node, const DeclMap & declMap, bool debug = false ) { 39 VarExprReplacer replacer( declMap, debug ); 40 maybeAccept( node, replacer ); 41 } 37 42 }; 38 43  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.