Changeset c3b3799 for src/SynTree/VarExprReplacer.h
- Timestamp:
- Sep 27, 2017, 4:25:27 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 97dbc09
- Parents:
- 4e66a18
- git-author:
- Rob Schluntz <rschlunt@…> (09/27/17 16:04:57)
- git-committer:
- Rob Schluntz <rschlunt@…> (09/27/17 16:25:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/VarExprReplacer.h
r4e66a18 rc3b3799 29 29 private: 30 30 const DeclMap & declMap; 31 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.