Changes in src/SynTree/VarExprReplacer.h [ea6332d:c3b3799]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/VarExprReplacer.h
rea6332d 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.