b7cf512e0d
Original-commit: flang-compiler/f18@2428121ab4 Reviewed-on: https://github.com/flang-compiler/f18/pull/25 Tree-same-pre-rewrite: false
19 lines
399 B
C++
19 lines
399 B
C++
#ifndef FORTRAN_PARSER_UNPARSE_H_
|
|
#define FORTRAN_PARSER_UNPARSE_H_
|
|
|
|
#include "characters.h"
|
|
#include <iosfwd>
|
|
|
|
namespace Fortran {
|
|
namespace parser {
|
|
|
|
class Program;
|
|
|
|
/// Convert parsed program to out as Fortran.
|
|
void Unparse(std::ostream &out, const Program &program,
|
|
Encoding encoding = Encoding::UTF8, bool capitalizeKeywords = true);
|
|
|
|
} // namespace parser
|
|
} // namespace Fortran
|
|
|
|
#endif
|