source: src/ResolvExpr/ExplodedArg.hpp @ 7f18438

Last change on this file since 7f18438 was c92bdcc, checked in by Andrew Beach <ajbeach@…>, 6 months ago

Updated the rest of the names in src/ (except for the generated files).

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[432ce7a]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// ExplodedArg.hpp --
8//
9// Author           : Aaron B. Moss
10// Created On       : Tue Jun 11 16:18:00 2019
11// Last Modified By : Aaron B. Moss
12// Last Modified On : Tue Jun 11 16:18:00 2019
13// Update Count     : 1
14//
15
16#pragma once
17
18#include <vector>
19
20#include "Candidate.hpp"            // for Candidate, CandidateList
[c92bdcc]21#include "Cost.hpp"                 // for Cost
[432ce7a]22#include "AST/Expr.hpp"
23#include "AST/Node.hpp"             // for ptr
24#include "AST/TypeEnvironment.hpp"  // for TypeEnvironment
25#include "AST/SymbolTable.hpp"      // for SymbolTable
26
27namespace ResolvExpr {
28
29/// Pre-exploded argument
30struct ExplodedArg {
31        ast::TypeEnvironment env;
32        Cost cost;
33        std::vector< ast::ptr<ast::Expr> > exprs;
34
35        ExplodedArg() : env(), cost( Cost::zero ), exprs() {}
36        ExplodedArg( const Candidate & arg, const ast::SymbolTable & symtab );
[eb8d791]37
[432ce7a]38        ExplodedArg( ExplodedArg && ) = default;
39        ExplodedArg & operator= ( ExplodedArg && ) = default;
40};
41
42}
43
44// Local Variables: //
45// tab-width: 4 //
46// mode: c++ //
47// compile-command: "make install" //
48// End: //
Note: See TracBrowser for help on using the repository browser.