|
hoshi-lang dev
Yet another programming language
|
#include <formatter.hpp>
Public Types | |
| enum class | IndentType { Space , Tab } |
| enum class | BraceType { Attached , NewLine } |
Public Member Functions | |
| FormatOption ()=default | |
| FormatOption (IndentType indentType, size_t indentSize, BraceType braceType, size_t maxWidth=80) | |
Public Attributes | |
| enum yoi::FormatOption::IndentType | Space |
| size_t | indentSize {4} |
| enum yoi::FormatOption::BraceType | Attached |
| size_t | maxWidth {80} |
Definition at line 12 of file formatter.hpp.
|
strong |
| Enumerator | |
|---|---|
| Attached | |
| NewLine | |
Definition at line 18 of file formatter.hpp.
|
strong |
| Enumerator | |
|---|---|
| Space | |
| Tab | |
Definition at line 13 of file formatter.hpp.
|
default |
| FormatOption | ( | IndentType | indentType, |
| size_t | indentSize, | ||
| BraceType | braceType, | ||
| size_t | maxWidth = 80 |
||
| ) |
Definition at line 11 of file formatter.cpp.
| enum yoi::FormatOption::BraceType Attached |
| size_t indentSize {4} |
Definition at line 17 of file formatter.hpp.
Referenced by main().
| size_t maxWidth {80} |
Definition at line 22 of file formatter.hpp.
Referenced by main(), and Formatter::willFit().
| enum yoi::FormatOption::IndentType Space |