source: src/ResolvExpr/FindOpenVars.h @ fc12f05

Last change on this file since fc12f05 was c6b4432, checked in by Andrew Beach <ajbeach@…>, 12 months ago

Remove BaseSyntaxNode? and clean-up.

  • Property mode set to 100644
File size: 1011 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        enum FirstMode { FirstClosed, FirstOpen };
26
27        // Updates open and closed variables and their associated assertions
28        void findOpenVars( 
29                const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed, 
30                ast::AssertionSet & need, ast::AssertionSet & have, ast::TypeEnvironment & env, FirstMode firstIsOpen );
31} // namespace ResolvExpr
32
33// Local Variables: //
34// tab-width: 4 //
35// mode: c++ //
36// compile-command: "make install" //
37// End: //
Note: See TracBrowser for help on using the repository browser.