new-env
Last change
on this file since 6fa409e was 28f3a19, checked in by Aaron Moss <a3moss@…>, 7 years ago |
Merge branch 'master' into with_gc
|
-
Property mode
set to
100644
|
File size:
1.0 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 | //
|
---|
| 7 | // Alternative.h --
|
---|
| 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 <vector>
|
---|
| 19 |
|
---|
[a8b27c6] | 20 | #include "Alternative.h" // for Alternative, AltList
|
---|
| 21 | #include "Cost.h" // for Cost
|
---|
| 22 | #include "TypeEnvironment.h" // for TypeEnvironment
|
---|
| 23 | #include "SymTab/Indexer.h" // for Indexer
|
---|
| 24 |
|
---|
| 25 | namespace ResolvExpr {
|
---|
| 26 | /// Pre-exploded actual
|
---|
| 27 | struct ExplodedActual {
|
---|
| 28 | TypeEnvironment env;
|
---|
| 29 | Cost cost;
|
---|
[8d7bef2] | 30 | std::vector< Expression* > exprs;
|
---|
[a8b27c6] | 31 |
|
---|
[62194cb] | 32 | ExplodedActual() : env(), cost(Cost::zero), exprs() {}
|
---|
| 33 | ExplodedActual( const Alternative& actual, const SymTab::Indexer& indexer );
|
---|
[d286cf68] | 34 | ExplodedActual(ExplodedActual&&) = default;
|
---|
| 35 | ExplodedActual& operator= (ExplodedActual&&) = default;
|
---|
[a8b27c6] | 36 | };
|
---|
| 37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.