9#ifndef FORTRAN_PARSER_UNPARSE_H_
10#define FORTRAN_PARSER_UNPARSE_H_
12#include "char-block.h"
13#include "characters.h"
36using preStatementType =
37 std::function<void(
const CharBlock &, llvm::raw_ostream &,
int)>;
52void Unparse(llvm::raw_ostream &out,
const A &root,
54 bool capitalizeKeywords =
true,
bool backslashEscapes =
true,
55 preStatementType *preStatement =
nullptr,
58extern template void Unparse(llvm::raw_ostream &out,
const Program &program,
60 bool capitalizeKeywords,
bool backslashEscapes,
62extern template void Unparse(llvm::raw_ostream &out,
const Expr &expr,
64 bool capitalizeKeywords,
bool backslashEscapes,
Definition LangOptions.h:58
Definition char-block.h:26
Definition bit-population-count.h:20
Definition check-expression.h:19
Definition expression.h:948
Definition expression.h:938
Definition parse-tree.h:1735