source: src/ResolvExpr/FindOpenVars.h @ d22bf87

Last change on this file since d22bf87 was 46da46b, checked in by Fangren Yu <f37yu@…>, 18 months ago

current progress

  • Property mode set to 100644
File size: 1.3 KB
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//
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
[6b0b624]12// Last Modified On : Sat Jul 22 09:35:18 2017
13// Update Count     : 3
[a32b204]14//
[51b7345]15
[6b0b624]16#pragma once
[51b7345]17
[f474e91]18#include "AST/TypeEnvironment.hpp"  // for AssertionSet, OpenVarSet
[ea6332d]19#include "ResolvExpr/TypeEnvironment.h"  // for AssertionSet, OpenVarSet
20
21class Type;
[f474e91]22namespace ast {
23        class Type;
24}
[51b7345]25
26namespace ResolvExpr {
[eb50842]27        // Updates open and closed variables and their associated assertions
[85dac33]28        void findOpenVars( const Type *type, OpenVarSet &openVars, OpenVarSet &closedVars, AssertionSet &needAssertions, AssertionSet &haveAssertions, bool firstIsOpen );
[f474e91]29
30        enum FirstMode { FirstClosed, FirstOpen };
31
32        // Updates open and closed variables and their associated assertions
33        void findOpenVars( 
34                const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed, 
[46da46b]35                ast::AssertionSet & need, ast::AssertionSet & have, ast::TypeEnvironment & env, FirstMode firstIsOpen );
[51b7345]36} // namespace ResolvExpr
37
[a32b204]38// Local Variables: //
39// tab-width: 4 //
40// mode: c++ //
41// compile-command: "make install" //
42// End: //
Note: See TracBrowser for help on using the repository browser.