9#ifndef FORTRAN_PARSER_UNPARSE_H_
10#define FORTRAN_PARSER_UNPARSE_H_
12#include "char-block.h"
13#include "characters.h"
22struct GenericExprWrapper;
23struct GenericAssignmentWrapper;
33using preStatementType =
34 std::function<void(
const CharBlock &, llvm::raw_ostream &,
int)>;
49void Unparse(llvm::raw_ostream &out,
const A &root,
50 Encoding encoding = Encoding::UTF_8,
bool capitalizeKeywords =
true,
51 bool backslashEscapes =
true, preStatementType *preStatement =
nullptr,
54extern template void Unparse(llvm::raw_ostream &out,
const Program &program,
55 Encoding encoding,
bool capitalizeKeywords,
bool backslashEscapes,
57extern template void Unparse(llvm::raw_ostream &out,
const Expr &expr,
58 Encoding encoding,
bool capitalizeKeywords,
bool backslashEscapes,
Definition: check-expression.h:19
Definition: expression.h:906
Definition: expression.h:896
Definition: parse-tree.h:1700