top | up | prev | next

HtmlSourceCodeWriter Class

Definition at line 35 of HtmlSourceCodeWriter.hpp

Constructors

HtmlSourceCodeWriter()

Member Functions

void MoveTo(const Span& span)
void SetCurrentPos(int currentPos_)
void SetInlineCurrentPos(int inlineCurrentPos_)
void SetInlineLineElement(Element* inlineLineElement_)
void SetLineElement(Element* lineElement_)
void WriteBlockComment(const std::u32string& comment) override
void WriteChar(const std::u32string& chars) override
void WriteIdentifier(const std::u32string& identifier) override
void WriteInlineLink(const std::u32string& identifier, const std::u32string& ref)
void WriteKeyword(const std::u32string& keyword) override
void WriteLineComment(const std::u32string& comment) override
void WriteLineNumber(const std::u32string& lineNumber) override
void WriteLineNumberKind(const std::u32string& lineNumber, WriteKind kind)
void WriteLink(const std::u32string& identifier, const std::u32string& ref) override
void WriteNumber(const std::u32string& number) override
void WriteOther(const std::u32string& other) override
void WritePP(const std::u32string& pp) override
void WriteSpace(int numSpaces) override
void WriteSpaceKind(int numSpaces, WriteKind kind)
void WriteSpaces(const std::u32string& spaces) override
void WriteString(const std::u32string& string) override
void WriteToElement(Element* element, const std::u32string& text)
void WriteType(const std::u32string& type) override

Member Variables

int currentPos
int inlineCurrentPos
Element* inlineLineElement
Element* lineElement

Constructor Details

HtmlSourceCodeWriter Constructor

gendoc::html::HtmlSourceCodeWriter::HtmlSourceCodeWriter()

Definition at line 11 of HtmlSourceCodeWriter.cpp
Declaration at line 38 of HtmlSourceCodeWriter.hpp


Member Function Details

MoveTo Member Function

void gendoc::html::HtmlSourceCodeWriter::MoveTo(const Span& span)

Definition at line 30 of HtmlSourceCodeWriter.cpp
Declaration at line 43 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteSpaceKind

Called by: gendoc::html::HtmlSourceCodeGenerator::MoveTo


SetCurrentPos Member Function

void gendoc::html::HtmlSourceCodeWriter::SetCurrentPos(int currentPos_)

Definition at line 41 of HtmlSourceCodeWriter.hpp

Called by: gendoc::html::HtmlSourceCodeGenerator::OpenLine


SetInlineCurrentPos Member Function

void gendoc::html::HtmlSourceCodeWriter::SetInlineCurrentPos(int inlineCurrentPos_)

Definition at line 42 of HtmlSourceCodeWriter.hpp

Called by: gendoc::html::HtmlSourceCodeGenerator::OpenInlineLine


SetInlineLineElement Member Function

void gendoc::html::HtmlSourceCodeWriter::SetInlineLineElement(Element * inlineLineElement_)

Definition at line 40 of HtmlSourceCodeWriter.hpp

Called by: gendoc::html::HtmlSourceCodeGenerator::CloseLine , gendoc::html::HtmlSourceCodeGenerator::OpenInlineLine , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit


SetLineElement Member Function

void gendoc::html::HtmlSourceCodeWriter::SetLineElement(Element * lineElement_)

Definition at line 39 of HtmlSourceCodeWriter.hpp

Called by: gendoc::html::HtmlLexerFileSourceGenerator::OpenLine , gendoc::html::HtmlParserFileSourceGenerator::OpenLine , gendoc::html::HtmlSourceCodeGenerator::OpenLine


WriteBlockComment Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteBlockComment(const std::u32string& comment) override

Definition at line 90 of HtmlSourceCodeWriter.cpp
Declaration at line 47 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild


WriteChar Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteChar(const std::u32string& chars) override

Definition at line 203 of HtmlSourceCodeWriter.cpp
Declaration at line 54 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteString


WriteIdentifier Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteIdentifier(const std::u32string& identifier) override

Definition at line 118 of HtmlSourceCodeWriter.cpp
Declaration at line 49 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteType


void gendoc::html::HtmlSourceCodeWriter::WriteInlineLink(const std::u32string& identifier, const std::u32string& ref)

Definition at line 152 of HtmlSourceCodeWriter.cpp
Declaration at line 51 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteType


WriteKeyword Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteKeyword(const std::u32string& keyword) override

Definition at line 104 of HtmlSourceCodeWriter.cpp
Declaration at line 48 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::WriteAccess , gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteSpecifiers , gendoc::html::HtmlSourceCodeGenerator::WriteType


WriteLineComment Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteLineComment(const std::u32string& comment) override

Definition at line 68 of HtmlSourceCodeWriter.cpp
Declaration at line 46 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild


WriteLineNumber Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteLineNumber(const std::u32string& lineNumber) override

Definition at line 63 of HtmlSourceCodeWriter.cpp
Declaration at line 44 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteLineNumberKind


WriteLineNumberKind Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteLineNumberKind(const std::u32string& lineNumber, WriteKind kind)

Definition at line 44 of HtmlSourceCodeWriter.cpp
Declaration at line 45 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlLexerFileSourceGenerator::OpenLine , gendoc::html::HtmlParserFileSourceGenerator::OpenLine , gendoc::html::HtmlSourceCodeGenerator::OpenInlineLine , gendoc::html::HtmlSourceCodeGenerator::OpenLine , gendoc::html::HtmlSourceCodeWriter::WriteLineNumber


void gendoc::html::HtmlSourceCodeWriter::WriteLink(const std::u32string& identifier, const std::u32string& ref) override

Definition at line 132 of HtmlSourceCodeWriter.cpp
Declaration at line 50 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteType


WriteNumber Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteNumber(const std::u32string& number) override

Definition at line 267 of HtmlSourceCodeWriter.cpp
Declaration at line 59 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteOther


WriteOther Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteOther(const std::u32string& other) override

Definition at line 272 of HtmlSourceCodeWriter.cpp
Declaration at line 60 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::WriteAccess , gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteIdSequence , gendoc::html::HtmlSourceCodeGenerator::WriteSpecifiers , gendoc::html::HtmlSourceCodeGenerator::WriteType , gendoc::html::HtmlSourceCodeWriter::WriteNumber


WritePP Member Function

void gendoc::html::HtmlSourceCodeWriter::WritePP(const std::u32string& pp) override

Definition at line 189 of HtmlSourceCodeWriter.cpp
Declaration at line 53 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild


WriteSpace Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteSpace(int numSpaces) override

Definition at line 245 of HtmlSourceCodeWriter.cpp
Declaration at line 56 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteSpaceKind

Called by: gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteType , gendoc::html::HtmlSourceCodeWriter::WriteSpaces


WriteSpaceKind Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteSpaceKind(int numSpaces, WriteKind kind)

Definition at line 222 of HtmlSourceCodeWriter.cpp
Declaration at line 58 of HtmlSourceCodeWriter.hpp

Calls: sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlLexerFileSourceGenerator::OpenLine , gendoc::html::HtmlParserFileSourceGenerator::OpenLine , gendoc::html::HtmlSourceCodeGenerator::OpenInlineLine , gendoc::html::HtmlSourceCodeGenerator::OpenLine , gendoc::html::HtmlSourceCodeWriter::MoveTo , gendoc::html::HtmlSourceCodeWriter::WriteSpace


WriteSpaces Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteSpaces(const std::u32string& spaces) override

Definition at line 250 of HtmlSourceCodeWriter.cpp
Declaration at line 57 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteSpace


WriteString Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteString(const std::u32string& string) override

Definition at line 208 of HtmlSourceCodeWriter.cpp
Declaration at line 55 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeGenerator::Visit , gendoc::html::HtmlSourceCodeWriter::WriteChar


WriteToElement Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteToElement(Element * element, const std::u32string& text)

Definition at line 15 of HtmlSourceCodeWriter.cpp
Declaration at line 66 of HtmlSourceCodeWriter.hpp

Calls: sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeWriter::WriteBlockComment , gendoc::html::HtmlSourceCodeWriter::WriteIdentifier , gendoc::html::HtmlSourceCodeWriter::WriteInlineLink , gendoc::html::HtmlSourceCodeWriter::WriteKeyword , gendoc::html::HtmlSourceCodeWriter::WriteLineComment , gendoc::html::HtmlSourceCodeWriter::WriteLineNumberKind , gendoc::html::HtmlSourceCodeWriter::WriteLink , gendoc::html::HtmlSourceCodeWriter::WriteOther , gendoc::html::HtmlSourceCodeWriter::WritePP , gendoc::html::HtmlSourceCodeWriter::WriteString , gendoc::html::HtmlSourceCodeWriter::WriteType


WriteType Member Function

void gendoc::html::HtmlSourceCodeWriter::WriteType(const std::u32string& type) override

Definition at line 175 of HtmlSourceCodeWriter.cpp
Declaration at line 52 of HtmlSourceCodeWriter.hpp

Calls: gendoc::html::HtmlSourceCodeWriter::WriteToElement , sngxml::dom::ParentNode::AppendChild

Called by: gendoc::html::HtmlSourceCodeGenerator::WriteId , gendoc::html::HtmlSourceCodeGenerator::WriteType


top | up | prev | next