![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
Structure representing a line of code. More...
#include <Graph.h>
Public Member Functions | |
CodeLine (const std::string &line, bool unindent_before, bool indent_after) | |
Constructor for CodeLine. More... | |
Public Attributes | |
std::string | line = "0" |
The line of code. More... | |
bool | unindent_before = false |
Whether or not to add an indentation level before outputting the line. More... | |
bool | indent_after = false |
Whether to remove an indentation level after outputting the line. More... | |
Structure representing a line of code.
CodeLine::CodeLine | ( | const std::string & | line, |
bool | unindent_before, | ||
bool | indent_after | ||
) |
Constructor for CodeLine.
[in] | line | The line of code. |
[in] | unindent_before | Whether or not to remove an indentation level before the line. Defaults to false. |
[in] | indent_after | Whether or not to add an indentation level after the line. Defaults to false. |
bool CodeLine::indent_after = false |
Whether to remove an indentation level after outputting the line.
std::string CodeLine::line = "0" |
The line of code.
bool CodeLine::unindent_before = false |
Whether or not to add an indentation level before outputting the line.