jak-project/common/goos/PrettyPrinter.h
water111 dbc266c00b
New Pretty Printer (#994)
* begin work on improved pretty printer

* update ref

* finish pretty printer

* force line break for defstate
2021-12-04 16:06:01 -05:00

21 lines
495 B
C++

#pragma once
/*!
* @file PrettyPrinter.h
* A Pretty Printer for GOOS.
* It is not very good, but significantly better than putting everything on one line
*/
#include <string>
#include <vector>
#include "common/goos/Object.h"
#include "common/goos/Reader.h"
#include "common/goos/Printer.h"
#include "common/goos/PrettyPrinter2.h"
namespace pretty_print {
// main pretty print function
std::string to_string_v1(const goos::Object& obj, int line_length = 80);
} // namespace pretty_print