top | up | prev | next

HtmlLexerFileSourceGenerator Class

Definition at line 15 of HtmlLexerFileSourceGenerator.hpp

Constructors

HtmlLexerFileSourceGenerator(const std::u32string& projectName_, const std::vector<std::u32string>& inputLines_, int numDigits_, const std::string& styleDirName_, const std::string& styleFileName_)

Member Functions

void CloseLine()
void OpenLine()
void Visit(SourceFileNode& sourceFileNode) override

Member Variables

std::unique_ptr<Element> bodyElement
int currentSourceLineNumber
std::unique_ptr<Element> htmlElement
Document htmlSourceFileDocument
const std::vector<std::u32string>& inputLines
std::unique_ptr<Element> lineElement
int numDigits
std::u32string projectName
std::string styleFilePath
HtmlSourceCodeWriter writer

Constructor Details

HtmlLexerFileSourceGenerator Constructor

gendoc::html::HtmlLexerFileSourceGenerator::HtmlLexerFileSourceGenerator(const std::u32string& projectName_, const std::vector<std::u32string>& inputLines_, int numDigits_, const std::string& styleDirName_, const std::string& styleFileName_)

Definition at line 19 of HtmlLexerFileSourceGenerator.cpp
Declaration at line 18 of HtmlLexerFileSourceGenerator.hpp


Member Function Details

CloseLine Member Function

void gendoc::html::HtmlLexerFileSourceGenerator::CloseLine()

Definition at line 69 of HtmlLexerFileSourceGenerator.cpp
Declaration at line 21 of HtmlLexerFileSourceGenerator.hpp

Called by: gendoc::html::HtmlLexerFileSourceGenerator::Visit


OpenLine Member Function

void gendoc::html::HtmlLexerFileSourceGenerator::OpenLine()

Definition at line 57 of HtmlLexerFileSourceGenerator.cpp
Declaration at line 20 of HtmlLexerFileSourceGenerator.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::SetLineElement , gendoc::html::HtmlSourceCodeWriter::WriteLineNumberKind , gendoc::html::HtmlSourceCodeWriter::WriteSpaceKind

Called by: gendoc::html::HtmlLexerFileSourceGenerator::Visit


Visit Member Function

void gendoc::html::HtmlLexerFileSourceGenerator::Visit(SourceFileNode& sourceFileNode) override

Definition at line 26 of HtmlLexerFileSourceGenerator.cpp
Declaration at line 19 of HtmlLexerFileSourceGenerator.hpp

Calls: gendoc::html::HtmlLexerFileSourceGenerator::CloseLine , gendoc::html::HtmlLexerFileSourceGenerator::OpenLine , sngxml::dom::Document::AppendChild , sngxml::dom::Document::Write , soulng::util::CodeFormatter::SetIndentSize


top | up | prev | next