source:
src/ResolvExpr/RenameVars.h
@
94df8de
Last change on this file since 94df8de was 898ae07, checked in by , 5 years ago | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[a32b204] | 1 | // |
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo | |
3 | // | |
4 | // The contents of this file are covered under the licence agreement in the | |
5 | // file "LICENCE" distributed with Cforall. | |
6 | // | |
[ea6332d] | 7 | // RenameVars.h -- |
[a32b204] | 8 | // |
9 | // Author : Richard C. Bilson | |
10 | // Created On : Sun May 17 12:10:28 2015 | |
11 | // Last Modified By : Peter A. Buhr | |
[6b0b624] | 12 | // Last Modified On : Sat Jul 22 09:33:54 2017 |
13 | // Update Count : 4 | |
[a32b204] | 14 | // |
[51b7345] | 15 | |
[6b0b624] | 16 | #pragma once |
[51b7345] | 17 | |
[ea6332d] | 18 | #include <list> // for list |
19 | #include <map> // for map | |
20 | #include <string> // for string | |
[51b7345] | 21 | |
[ea6332d] | 22 | #include "SynTree/SynTree.h" // for Visitor Nodes |
23 | #include "SynTree/Visitor.h" // for Visitor | |
[51b7345] | 24 | |
[898ae07] | 25 | namespace ast { |
26 | class Type; | |
27 | } | |
28 | ||
[51b7345] | 29 | namespace ResolvExpr { |
[0f19d763] | 30 | /// Provides a consistent renaming of forall type names in a hierarchy by prefixing them with a unique "level" ID |
[ad51cc2] | 31 | void renameTyVars( Type * ); |
[898ae07] | 32 | const ast::Type * renameTyVars( const ast::Type * ); |
[a32b204] | 33 | |
[ad51cc2] | 34 | /// resets internal state of renamer to avoid overflow |
35 | void resetTyVarRenaming(); | |
[51b7345] | 36 | } // namespace ResolvExpr |
37 | ||
[a32b204] | 38 | // Local Variables: // |
39 | // tab-width: 4 // | |
40 | // mode: c++ // | |
41 | // compile-command: "make install" // | |
42 | // End: // |
Note: See TracBrowser
for help on using the repository browser.