top | up | prev | next

StringFunctionContainerSymbol Abstract Class

Definition at line 13 of StringFunctions.hpp

Constructors

StringFunctionContainerSymbol()
StringFunctionContainerSymbol(const Span& span_, const boost::uuids::uuid& sourceModuleId_, const std::u32string& name_)

Member Functions

void* CreateDefaultIrValue(Emitter& emitter) override
void* IrType(Emitter& emitter) override
bool IsStringFunctionContainer() const override
void Read(SymbolReader& reader) override
void Write(SymbolWriter& writer) override

Constructor Details

StringFunctionContainerSymbol Constructor

cmajor::symbols::StringFunctionContainerSymbol::StringFunctionContainerSymbol()

Definition at line 12 of StringFunctions.cpp :
 12 : TypeSymbol(SymbolType::stringFunctionContainerSymbolSpan()boost::uuids::nil_uuid()U"@string_functions")
 13 {
 14     AddMember(new StringLengthFunction(this));
 15 }


Declaration at line 16 of StringFunctions.hpp


StringFunctionContainerSymbol Constructor

cmajor::symbols::StringFunctionContainerSymbol::StringFunctionContainerSymbol(const Span& span_, const boost::uuids::uuid& sourceModuleId_, const std::u32string& name_)

Definition at line 27 of StringFunctions.cpp :
 27 :
 28 TypeSymbol(SymbolType::stringFunctionContainerSymbolspan_sourceModuleId_name_)
 29 {
 30 }


Declaration at line 17 of StringFunctions.hpp


Member Function Details

CreateDefaultIrValue Member Function

void * cmajor::symbols::StringFunctionContainerSymbol::CreateDefaultIrValue(Emitter& emitter) override

Definition at line 22 of StringFunctions.cpp :
 23 {
 24     throw std::runtime_error("string function container symbol has no IR value");
 25 }


Declaration at line 19 of StringFunctions.hpp


IrType Member Function

void * cmajor::symbols::StringFunctionContainerSymbol::IrType(Emitter& emitter) override

Definition at line 17 of StringFunctions.cpp :
 18 {
 19     throw std::runtime_error("string function container symbol has no IR type");
 20 }


Declaration at line 18 of StringFunctions.hpp


IsStringFunctionContainer Member Function

bool cmajor::symbols::StringFunctionContainerSymbol::IsStringFunctionContainer() const override

Definition at line 22 of StringFunctions.hpp :
22 { return true; }

Base class overridden functions: cmajor::symbols::TypeSymbol::IsStringFunctionContainer


Read Member Function

void cmajor::symbols::StringFunctionContainerSymbol::Read(SymbolReader & reader) override

Definition at line 37 of StringFunctions.cpp :
 38 {
 39     TypeSymbol::Read(reader);
 40 }


Declaration at line 21 of StringFunctions.hpp

Base class overridden functions: cmajor::symbols::ContainerSymbol::Read , cmajor::symbols::Symbol::Read , cmajor::symbols::TypeSymbol::Read

Calls: cmajor::symbols::TypeSymbol::Read


Write Member Function

void cmajor::symbols::StringFunctionContainerSymbol::Write(SymbolWriter & writer) override

Definition at line 32 of StringFunctions.cpp :
 33 {
 34     TypeSymbol::Write(writer);
 35 }


Declaration at line 20 of StringFunctions.hpp

Base class overridden functions: cmajor::symbols::ContainerSymbol::Write , cmajor::symbols::Symbol::Write , cmajor::symbols::TypeSymbol::Write

Calls: cmajor::symbols::TypeSymbol::Write


top | up | prev | next