top | up | prev | next

Global Namespace

Classes

class CompileData

Functions

void AddWarningsTo(Element* diagnosticsElement, Module* module)
int Compile(const char16_t* compileXmlRequest)
void Done()
void EndLog()
int FetchLogMessage(char16_t* buf, int size)
int GetCompileResult(int compileResultHandle, char16_t* buf, int size)
int GetCompileResultLength(int compileResultHandle)
void Init()
void ResetModuleCache()
void SetUseModuleCache(bool useModuleCache_)
std::unique_ptr<Element> SpanElement(Module* module, const Span& span)
void StartLog()
void StopBuild()
int WaitForLogMessage()

Variables

bool initialized
const char* version

Function Details

AddWarningsTo Function

void AddWarningsTo(Element * diagnosticsElement, Module * module)

Definition at line 148 of Compiler.cpp

Calls: cmajor::symbols::CompileWarningCollection::Warnings , cmajor::symbols::Module::WarningCollection , cmajor::symbols::Warning::Defined , cmajor::symbols::Warning::Message , cmajor::symbols::Warning::Project , cmajor::symbols::Warning::References , sngxml::dom::ParentNode::AppendChild


Compile Function

int Compile(const char16_t * compileXmlRequest)

Definition at line 185 of Compiler.cpp
Declaration at line 13 of Compiler.hpp

Calls: CompileData::Instance , CompileData::SetCompileResult , cmajor::symbols::Exception::Defined , cmajor::symbols::Exception::DefinedModuleId , cmajor::symbols::Exception::Message , cmajor::symbols::Exception::References , cmajor::symbols::Exception::What , cmajor::symbols::Module::GetCurrentProjectName , cmajor::symbols::Module::GetCurrentToolName , sngxml::dom::Document::AppendChild , sngxml::dom::Document::Write , sngxml::dom::Element::GetAttribute , soulng::lexer::ParsingException::GetSpan , soulng::lexer::ParsingException::Message , soulng::lexer::ParsingException::Module , soulng::lexer::ParsingException::Project


Done Function

void Done()

Definition at line 113 of Compiler.cpp
Declaration at line 12 of Compiler.hpp

Calls: CompileData::Done


EndLog Function

void EndLog()

Definition at line 424 of Compiler.cpp
Declaration at line 20 of Compiler.hpp


FetchLogMessage Function

int FetchLogMessage(char16_t * buf, int size)

Definition at line 413 of Compiler.cpp
Declaration at line 18 of Compiler.hpp


GetCompileResult Function

int GetCompileResult(int compileResultHandle, char16_t * buf, int size)

Definition at line 396 of Compiler.cpp
Declaration at line 15 of Compiler.hpp

Calls: CompileData::GetCompileResult , CompileData::Instance


GetCompileResultLength Function

int GetCompileResultLength(int compileResultHandle)

Definition at line 390 of Compiler.cpp
Declaration at line 14 of Compiler.hpp

Calls: CompileData::GetCompileResultLength , CompileData::Instance


Init Function

void Init()

Definition at line 100 of Compiler.cpp
Declaration at line 11 of Compiler.hpp

Calls: CompileData::Init


ResetModuleCache Function

void ResetModuleCache()

Definition at line 429 of Compiler.cpp
Declaration at line 21 of Compiler.hpp


SetUseModuleCache Function

void SetUseModuleCache(bool useModuleCache_)

Definition at line 434 of Compiler.cpp
Declaration at line 22 of Compiler.hpp


SpanElement Function

std::unique_ptr<Element > SpanElement(Module * module, const Span & span)

Definition at line 124 of Compiler.cpp

Calls: cmajor::symbols::Module::GetColumns , cmajor::symbols::Module::GetErrorLines , cmajor::symbols::Module::GetFilePath , soulng::lexer::Span::Valid


StartLog Function

void StartLog()

Definition at line 419 of Compiler.cpp
Declaration at line 19 of Compiler.hpp


StopBuild Function

void StopBuild()

Definition at line 402 of Compiler.cpp
Declaration at line 16 of Compiler.hpp


WaitForLogMessage Function

int WaitForLogMessage()

Definition at line 407 of Compiler.cpp
Declaration at line 17 of Compiler.hpp


top | up | prev | next