source: src/ResolvExpr/FindOpenVars.h

Last change on this file was 2908f08, checked in by Andrew Beach <ajbeach@…>, 5 months ago

Most of ResolvExpr? was written before the new style standard. Some files updated, focus on headers.

  • Property mode set to 100644
File size: 1006 bytes
Line 
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// FindOpenVars.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 09:46:04 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 09:35:18 2017
13// Update Count     : 3
14//
15
16#pragma once
17
18#include "AST/TypeEnvironment.hpp"  // for AssertionSet, OpenVarSet
19
20namespace ast {
21        class Type;
22}
23
24namespace ResolvExpr {
25
26enum FirstMode { FirstClosed, FirstOpen };
27
28// Updates open and closed variables and their associated assertions
29void findOpenVars(
30        const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed,
31        ast::AssertionSet & need, ast::AssertionSet & have, ast::TypeEnvironment & env, FirstMode firstIsOpen );
32
33} // namespace ResolvExpr
34
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.