ArkScript
A small, fast, functional and scripting language for video games
FormatterConfig Struct Reference

#include <Formatter.hpp>

Static Public Attributes

static constexpr std::size_t SpacePerIndent = 2
 Indentation level of each node.
 
static constexpr std::size_t LongLineLength = 32
 Max number of characters per line segment to consider splitting.
 

Detailed Description

Definition at line 8 of file Formatter.hpp.

Member Data Documentation

◆ LongLineLength

std::size_t FormatterConfig::LongLineLength = 32
staticconstexpr

Max number of characters per line segment to consider splitting.

Definition at line 11 of file Formatter.hpp.

Referenced by Formatter::shouldSplitOnNewline().

◆ SpacePerIndent

std::size_t FormatterConfig::SpacePerIndent = 2
staticconstexpr

Indentation level of each node.

Definition at line 10 of file Formatter.hpp.

Referenced by Formatter::prefix().


The documentation for this struct was generated from the following file: