9#ifndef FORTRAN_PARSER_UNPARSE_H_
10#define FORTRAN_PARSER_UNPARSE_H_
12#include "char-block.h"
13#include "characters.h"
37using preStatementType =
38 std::function<void(
const CharBlock &, llvm::raw_ostream &,
int)>;
53void Unparse(llvm::raw_ostream &out,
const A &root,
55 bool capitalizeKeywords =
true,
bool backslashEscapes =
true,
56 preStatementType *preStatement =
nullptr,
59extern template void Unparse(llvm::raw_ostream &out,
const Program &program,
61 bool capitalizeKeywords,
bool backslashEscapes,
63extern template void Unparse(llvm::raw_ostream &out,
const Expr &expr,
65 bool capitalizeKeywords,
bool backslashEscapes,
Definition LangOptions.h:58
Definition char-block.h:28
Definition bit-population-count.h:20
Definition check-expression.h:19
Definition expression.h:906
Definition expression.h:896
Definition parse-tree.h:1700