source:
src/ResolvExpr/AlternativePrinter.h
@
3d56d15b
Last change on this file since 3d56d15b was bff09c8, checked in by , 7 years ago | |
---|---|
|
|
File size: 875 bytes |
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 | // | |
[62e5546] | 7 | // AlternativePrinter.h -- |
[a32b204] | 8 | // |
9 | // Author : Richard C. Bilson | |
10 | // Created On : Sun May 17 06:55:43 2015 | |
11 | // Last Modified By : Peter A. Buhr | |
[6b0b624] | 12 | // Last Modified On : Sat Jul 22 09:37:09 2017 |
13 | // Update Count : 4 | |
[a32b204] | 14 | // |
15 | ||
[6b0b624] | 16 | #pragma once |
[51b7345] | 17 | |
[ea6332d] | 18 | #include <iostream> // for ostream |
[51b7345] | 19 | |
[bff09c8] | 20 | #include "Common/PassVisitor.h" |
[ea6332d] | 21 | |
22 | class ExprStmt; | |
[51b7345] | 23 | |
24 | namespace ResolvExpr { | |
[bff09c8] | 25 | class AlternativePrinter final : public WithIndexer { |
[a32b204] | 26 | public: |
27 | AlternativePrinter( std::ostream &os ); | |
[62e5546] | 28 | |
[bff09c8] | 29 | void postvisit( ExprStmt *exprStmt ); |
[a32b204] | 30 | private: |
31 | std::ostream &os; | |
32 | }; | |
[51b7345] | 33 | } // namespace ResolvExpr |
34 | ||
[a32b204] | 35 | // Local Variables: // |
36 | // tab-width: 4 // | |
37 | // mode: c++ // | |
38 | // compile-command: "make install" // | |
39 | // End: // |
Note: See TracBrowser
for help on using the repository browser.