top | up | prev | next

AttributeProcessor Class

Definition at line 21 of AttributeBinder.hpp

Constructors

AttributeProcessor(const std::u32string& attributeName_)

Member Functions

const std::u32string& AttributeName() const
void GenerateImplementation(AttributeNode* attribute, Symbol* symbol, StatementBinder* statementBinder)
void GenerateSymbols(AttributeNode* attribute, Symbol* symbol, BoundCompileUnit& boundCompileUnit, ContainerScope* containerScope)
void TypeCheck(AttributeNode* attribute, Symbol* symbol)

Member Variables

std::u32string attributeName

Constructor Details

AttributeProcessor Constructor

cmajor::binder::AttributeProcessor::AttributeProcessor(const std::u32string& attributeName_)

Definition at line 20 of AttributeBinder.cpp :
 20 : attributeName(attributeName_)
 21 {
 22 }


Declaration at line 24 of AttributeBinder.hpp


Member Function Details

AttributeName Member Function

const std::u32string& cmajor::binder::AttributeProcessor::AttributeName() const

Definition at line 26 of AttributeBinder.hpp :
26 { return attributeName; }


GenerateImplementation Member Function

void cmajor::binder::AttributeProcessor::GenerateImplementation(AttributeNode* attribute, Symbol * symbol, StatementBinder * statementBinder)

Definition at line 38 of AttributeBinder.cpp :
 39 {
 40 }


Called by: cmajor::binder::AttributeBinder::GenerateImplementation


GenerateSymbols Member Function

void cmajor::binder::AttributeProcessor::GenerateSymbols(AttributeNode* attribute, Symbol * symbol, BoundCompileUnit & boundCompileUnit, ContainerScope * containerScope)

Definition at line 34 of AttributeBinder.cpp :
 35 {
 36 }


Called by: cmajor::binder::AttributeBinder::BindAttributes


TypeCheck Member Function

void cmajor::binder::AttributeProcessor::TypeCheck(AttributeNode* attribute, Symbol * symbol)

Definition at line 28 of AttributeBinder.cpp :
 29 {
 30     throw Exception("attribute '" + ToUtf8(attribute->Name()) + "' for symbol type '" + symbol->TypeString() + "' not supported"attribute->GetSpan()attribute->ModuleId()
 31         symbol->GetSpan()symbol->SourceModuleId());
 32 }


Calls: cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId , cmajor::symbols::Symbol::TypeString

Called by: cmajor::binder::AttributeBinder::BindAttributes , cmajor::binder::JsonAttributeProcessor::TypeCheck , cmajor::binder::JsonFieldNameAttributeProcessor::TypeCheck , cmajor::binder::SystemDefaultAttributeProcessor::TypeCheck , cmajor::binder::XmlAttributeProcessor::TypeCheck


top | up | prev | next