source: src/ResolvExpr/AlternativePrinter.h @ 9319a23

ADTast-experimental
Last change on this file since 9319a23 was bff09c8, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Convert AlternativePrinter? to PassVisitor?

  • Property mode set to 100644
File size: 875 bytes
RevLine 
[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
22class ExprStmt;
[51b7345]23
24namespace 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.