xref: /llvm-project/flang/include/flang/Semantics/unparse-with-symbols.h (revision e00a3ccf43563209b71c5b68f56d83f4052dca63)
1 //===-- include/flang/Semantics/unparse-with-symbols.h ----------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef FORTRAN_SEMANTICS_UNPARSE_WITH_SYMBOLS_H_
10 #define FORTRAN_SEMANTICS_UNPARSE_WITH_SYMBOLS_H_
11 
12 #include "flang/Parser/characters.h"
13 #include <iosfwd>
14 
15 namespace llvm {
16 class raw_ostream;
17 }
18 
19 namespace Fortran::parser {
20 struct Program;
21 }
22 
23 namespace Fortran::semantics {
24 class SemanticsContext;
25 void UnparseWithSymbols(llvm::raw_ostream &, const parser::Program &,
26     parser::Encoding encoding = parser::Encoding::UTF_8);
27 void UnparseWithModules(llvm::raw_ostream &, SemanticsContext &,
28     const parser::Program &,
29     parser::Encoding encoding = parser::Encoding::UTF_8);
30 }
31 
32 #endif // FORTRAN_SEMANTICS_UNPARSE_WITH_SYMBOLS_H_
33