source:
src/ResolvExpr/ExplodedActual.h
@
52d2545
Last change on this file since 52d2545 was 432ce7a, checked in by , 5 years ago | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[a8b27c6] | 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 | // | |
[432ce7a] | 7 | // ExplodedActual.h -- |
[a8b27c6] | 8 | // |
9 | // Author : Aaron B. Moss | |
10 | // Created On : Tue Nov 22 17:06:00 2017 | |
11 | // Last Modified By : Aaron B. Moss | |
12 | // Last Modified On : Tue Nov 22 17:06:00 2017 | |
13 | // Update Count : 1 | |
14 | // | |
15 | ||
16 | #pragma once | |
17 | ||
[62194cb] | 18 | #include <memory> |
19 | #include <vector> | |
20 | ||
[a8b27c6] | 21 | #include "Alternative.h" // for Alternative, AltList |
22 | #include "Cost.h" // for Cost | |
23 | #include "TypeEnvironment.h" // for TypeEnvironment | |
24 | #include "SymTab/Indexer.h" // for Indexer | |
25 | ||
26 | namespace ResolvExpr { | |
27 | /// Pre-exploded actual | |
28 | struct ExplodedActual { | |
29 | TypeEnvironment env; | |
30 | Cost cost; | |
[62194cb] | 31 | std::vector< std::unique_ptr<Expression> > exprs; |
[a8b27c6] | 32 | |
[62194cb] | 33 | ExplodedActual() : env(), cost(Cost::zero), exprs() {} |
34 | ExplodedActual( const Alternative& actual, const SymTab::Indexer& indexer ); | |
[d286cf68] | 35 | ExplodedActual(ExplodedActual&&) = default; |
36 | ExplodedActual& operator= (ExplodedActual&&) = default; | |
[a8b27c6] | 37 | }; |
38 | } | |
[432ce7a] | 39 | |
40 | // Local Variables: // | |
41 | // tab-width: 4 // | |
42 | // mode: c++ // | |
43 | // compile-command: "make install" // | |
44 | // End: // |
Note: See TracBrowser
for help on using the repository browser.