top | up | prev | next

Symbol Class

Definition at line 131 of Symbol.hpp

Constructors

Symbol(SymbolType symbolType_, const Span& span_, const boost::uuids::uuid& sourceModuleId_, const std::u32string& name_)

Member Functions

void Accept(SymbolCollector* collector) virtual
SymbolAccess Access() const
void AppendChildElements(Element* element, TypeMap& typeMap) const virtual
void Check() virtual
const ClassTypeSymbol* Class() const
ClassTypeSymbol* Class()
const ContainerSymbol* ClassInterfaceEnumDelegateOrNsNoThrow() const
ContainerSymbol* ClassInterfaceEnumDelegateOrNsNoThrow()
ContainerScope* ClassInterfaceEnumDelegateOrNsScope()
const ContainerScope* ClassInterfaceEnumDelegateOrNsScope() const
const ContainerSymbol* ClassInterfaceOrNsNoThrow() const
ContainerSymbol* ClassInterfaceOrNsNoThrow()
ContainerScope* ClassInterfaceOrNsScope()
const ContainerScope* ClassInterfaceOrNsScope() const
const char* ClassName() const virtual
ClassTypeSymbol* ClassNoThrow()
const ClassTypeSymbol* ClassNoThrow() const
ContainerSymbol* ClassOrNsNoThrow()
const ContainerSymbol* ClassOrNsNoThrow() const
const ContainerScope* ClassOrNsScope() const
ContainerScope* ClassOrNsScope()
std::u32string CodeName() const virtual
void ComputeMangledName() virtual
ClassTypeSymbol* ContainingClassNoThrow()
const ClassTypeSymbol* ContainingClassNoThrow() const
FunctionSymbol* ContainingFunctionNoThrow()
const FunctionSymbol* ContainingFunctionNoThrow() const
InterfaceTypeSymbol* ContainingInterfaceNoThrow()
const InterfaceTypeSymbol* ContainingInterfaceNoThrow() const
void CopyFrom(const Symbol* that) virtual
std::unique_ptr<Element> CreateDomElement(TypeMap& typeMap) virtual
SymbolAccess DeclaredAccess() const virtual
std::u32string DocName() const virtual
void Dump(CodeFormatter& formatter) virtual
void EmplaceConcept(ConceptSymbol* conceptSymbol) virtual
void EmplaceFunction(FunctionSymbol* functionSymbol, int index) virtual
void EmplaceType(TypeSymbol* typeSymbol, int index) virtual
std::u32string FullName() const virtual
std::u32string FullNameWithSpecifiers() const virtual
const FunctionSymbol* Function() const
FunctionSymbol* Function()
FunctionSymbol* FunctionNoThrow()
const FunctionSymbol* FunctionNoThrow() const
ContainerScope* GetArrowScope() virtual
const ContainerScope* GetArrowScope() const virtual
AttributesNode* GetAttributes() const
const CompileUnitNode* GetCompileUnit() const
ContainerScope* GetContainerScope() virtual
const ContainerScope* GetContainerScope() const virtual
bool GetFlag(SymbolFlags flag) const
bool GetLocation(SymbolLocation& definitionLocation) const
Module* GetModule()
Module* GetModule() const
const Span& GetSpan() const
std::string GetSpecifierStr() const virtual
SymbolFlags GetStableSymbolFlags() const
std::string GetSymbolCategoryDescription() const virtual
std::string GetSymbolCategoryStr() const virtual
SymbolFlags GetSymbolFlags() const
std::string GetSymbolHelp() const virtual
SymbolType GetSymbolType() const
ContainerScope* GetTypeScope() virtual
const ContainerScope* GetTypeScope() const virtual
bool HasProjectMembers() const virtual
std::u32string Id() const virtual
std::u32string Info() const virtual
const InterfaceTypeSymbol* InterfaceNoThrow() const
InterfaceTypeSymbol* InterfaceNoThrow()
void* IrObject(Emitter& emitter)
bool IsBound() const
bool IsClassTypeSymbol() const virtual
bool IsContainerSymbol() const virtual
bool IsExportSymbol() const virtual
bool IsExternal() const
bool IsFunctionSymbol() const virtual
bool IsGlobalVariableSymbol() const virtual
bool IsInstalled() const
bool IsNothrow() const
bool IsParentSymbol() const virtual
bool IsProject() const
bool IsSameParentOrAncestorOf(const Symbol* that) const
bool IsStatic() const
bool IsTypeSymbol() const virtual
bool IsVariableSymbol() const virtual
const std::u32string& MangledName() const
const std::u32string& Name() const
const NamespaceSymbol* Ns() const
NamespaceSymbol* Ns()
const Symbol* Parent() const
Symbol* Parent()
void Read(SymbolReader& reader) virtual
std::unique_ptr<Symbol> RemoveFromParent() virtual
std::unique_ptr<Symbol> RemoveMember(int symbolIndex) virtual
void ResetFlag(SymbolFlags flag)
void ResetInstalled()
void SetAccess(Specifiers accessSpecifiers)
void SetAccess(SymbolAccess access_)
void SetAttributes(std::unique_ptr<AttributesNode>&& attributes_)
void SetBound()
void SetCompileUnit(CompileUnitNode* compileUnit_)
void SetExternal()
void SetFlag(SymbolFlags flag)
void SetInstalled()
void SetMangledName(const std::u32string& mangledName_)
void SetModule(Module* module_)
void SetName(const std::u32string& name_)
void SetNothrow()
void SetParent(Symbol* parent_)
void SetProject()
void SetSpan(const Span& span_)
void SetStatic()
void SetSymbolIndex(int symbolIndex_)
std::u32string SimpleName() const virtual
const boost::uuids::uuid& SourceModuleId() const
int SymbolIndex() const
std::string Syntax() const virtual
Element* ToCCElement(int ccPrefixLength, const std::u32string& replacement, const std::u32string& functionGroup) const virtual
std::unique_ptr<Element> ToDomElement(TypeMap& typeMap)
std::string TypeString() const virtual
void Write(SymbolWriter& writer) virtual

Member Variables

std::unique_ptr<AttributesNode> attributes
CompileUnitNode* compileUnit
SymbolFlags flags
std::u32string mangledName
Module* module
std::u32string name
Symbol* parent
boost::uuids::uuid sourceModuleId
Span span
int symbolIndex
SymbolType symbolType

Constructor Details

Symbol Constructor

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

Definition at line 188 of Symbol.cpp :
 188 :
 189 symbolType(symbolType_)span(span_)sourceModuleId(sourceModuleId_)name(name_)flags(SymbolFlags::project)parent(nullptr)module(nullptr)compileUnit(nullptr)symbolIndex(-1)
 190 {
 191 }



Member Function Details

Accept Member Function

void cmajor::symbols::Symbol::Accept(SymbolCollector * collector) virtual

Definition at line 149 of Symbol.hpp :
149 {}

Derived class overrides: cmajor::symbols::BasicTypeSymbol::Accept , cmajor::symbols::ClassDelegateTypeSymbol::Accept , cmajor::symbols::ClassTypeSymbol::Accept , cmajor::symbols::ConceptSymbol::Accept , cmajor::symbols::ConstantSymbol::Accept , cmajor::symbols::ContainerSymbol::Accept , cmajor::symbols::DelegateTypeSymbol::Accept , cmajor::symbols::DestructorSymbol::Accept , cmajor::symbols::EnumConstantSymbol::Accept , cmajor::symbols::EnumTypeSymbol::Accept , cmajor::symbols::FunctionSymbol::Accept , cmajor::symbols::GlobalVariableSymbol::Accept , cmajor::symbols::InterfaceTypeSymbol::Accept , cmajor::symbols::MemberVariableSymbol::Accept , cmajor::symbols::StaticConstructorSymbol::Accept , cmajor::symbols::TypedefSymbol::Accept


Access Member Function

SymbolAccess cmajor::symbols::Symbol::Access() const

Definition at line 172 of Symbol.hpp :
172 { return SymbolAccess(flags & SymbolFlags::access);  }

Called by: cmajor::symbols::ClassDelegateTypeSymbol::Accept , cmajor::symbols::ClassGroupTypeSymbol::IsValidCCClassGroup , cmajor::symbols::ClassTypeSymbol::Accept , cmajor::symbols::ConceptSymbol::Accept , cmajor::symbols::ConstantSymbol::Accept , cmajor::symbols::DelegateTypeSymbol::Accept , cmajor::symbols::EnumTypeSymbol::Accept , cmajor::symbols::FunctionSymbol::Accept , cmajor::symbols::GlobalVariableGroupSymbol::AddGlobalVariable , cmajor::symbols::GlobalVariableGroupSymbol::CollectGlobalVariables , cmajor::symbols::GlobalVariableSymbol::Accept , cmajor::symbols::GlobalVariableSymbol::Read , cmajor::symbols::GlobalVariableSymbol::Write , cmajor::symbols::InterfaceTypeSymbol::Accept , cmajor::symbols::MemberVariableSymbol::Accept , cmajor::symbols::NamespaceSymbol::CreateDomElement , cmajor::symbols::Symbol::DeclaredAccess , cmajor::symbols::TypedefSymbol::Accept


AppendChildElements Member Function

void cmajor::symbols::Symbol::AppendChildElements(Element * element, TypeMap & typeMap) const virtual

Definition at line 244 of Symbol.hpp :
244 {}

Derived class overrides: cmajor::symbols::ClassGroupTypeSymbol::AppendChildElements , cmajor::symbols::ConceptGroupSymbol::AppendChildElements , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::FunctionGroupSymbol::AppendChildElements

Called by: cmajor::symbols::Symbol::ToDomElement


Check Member Function

void cmajor::symbols::Symbol::Check() virtual

Definition at line 331 of Symbol.cpp :
 332 {
 333 }


Declaration at line 170 of Symbol.hpp

Derived class overrides: cmajor::symbols::ArrayBeginFunction::Check , cmajor::symbols::ArrayCBeginFunction::Check , cmajor::symbols::ArrayCEndFunction::Check , cmajor::symbols::ArrayEndFunction::Check , cmajor::symbols::ArrayLengthFunction::Check , cmajor::symbols::ArrayTypeCopyAssignment::Check , cmajor::symbols::ArrayTypeCopyConstructor::Check , cmajor::symbols::ArrayTypeDefaultConstructor::Check , cmajor::symbols::ArrayTypeElementAccess::Check , cmajor::symbols::ArrayTypeMoveAssignment::Check , cmajor::symbols::ArrayTypeMoveConstructor::Check , cmajor::symbols::ArrayTypeSymbol::Check , cmajor::symbols::BasicTypeConversion::Check , cmajor::symbols::BasicTypeSymbol::Check , cmajor::symbols::BoundTemplateParameterSymbol::Check , cmajor::symbols::ClassDelegateTypeDefaultConstructor::Check , cmajor::symbols::ClassDelegateTypeSymbol::Check , cmajor::symbols::ClassGroupTypeSymbol::Check , cmajor::symbols::ClassTemplateSpecializationSymbol::Check , cmajor::symbols::ClassToInterfaceConversion::Check , cmajor::symbols::ClassTypeSymbol::Check , cmajor::symbols::ConceptGroupSymbol::Check , cmajor::symbols::ConceptSymbol::Check , cmajor::symbols::ConstantSymbol::Check , cmajor::symbols::ContainerSymbol::Check , cmajor::symbols::DelegateTypeDefaultConstructor::Check , cmajor::symbols::DelegateTypeSymbol::Check , cmajor::symbols::DerivedTypeSymbol::Check , cmajor::symbols::EnumTypeCopyAssignment::Check , cmajor::symbols::EnumTypeCopyConstructor::Check , cmajor::symbols::EnumTypeDefaultConstructor::Check , cmajor::symbols::EnumTypeEqualityOp::Check , cmajor::symbols::EnumTypeMoveAssignment::Check , cmajor::symbols::EnumTypeMoveConstructor::Check , cmajor::symbols::EnumTypeReturn::Check , cmajor::symbols::EnumTypeSymbol::Check , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::Check , cmajor::symbols::FunctionGroupSymbol::Check , cmajor::symbols::FunctionSymbol::Check , cmajor::symbols::FunctionToDelegateConversion::Check , cmajor::symbols::InterfaceTypeSymbol::Check , cmajor::symbols::MemberFunctionToClassDelegateConversion::Check , cmajor::symbols::MemberVariableSymbol::Check , cmajor::symbols::TypeSymbol::Check , cmajor::symbols::TypedefSymbol::Check , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::Check , cmajor::symbols::VariableSymbol::Check

Called by: cmajor::symbols::BoundTemplateParameterSymbol::Check , cmajor::symbols::ConceptGroupSymbol::Check , cmajor::symbols::ConstantSymbol::Check , cmajor::symbols::ContainerSymbol::Check , cmajor::symbols::FunctionGroupSymbol::Check , cmajor::symbols::TypedefSymbol::Check , cmajor::symbols::VariableSymbol::Check


Class Member Function

const ClassTypeSymbol * cmajor::symbols::Symbol::Class() const

Definition at line 757 of Symbol.cpp
Declaration at line 209 of Symbol.hpp

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


Class Member Function

ClassTypeSymbol * cmajor::symbols::Symbol::Class()

Definition at line 770 of Symbol.cpp
Declaration at line 210 of Symbol.hpp

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


ClassInterfaceEnumDelegateOrNsNoThrow Member Function

const ContainerSymbol * cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow() const

Definition at line 653 of Symbol.cpp
Declaration at line 207 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs


ClassInterfaceEnumDelegateOrNsNoThrow Member Function

ContainerSymbol * cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow()

Definition at line 705 of Symbol.cpp
Declaration at line 208 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs

Called by: cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope


ClassInterfaceEnumDelegateOrNsScope Member Function

ContainerScope * cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope()

Definition at line 1022 of Symbol.cpp
Declaration at line 228 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


ClassInterfaceEnumDelegateOrNsScope Member Function

const ContainerScope * cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope() const

Definition at line 1009 of Symbol.cpp
Declaration at line 227 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


ClassInterfaceOrNsNoThrow Member Function

const ContainerSymbol * cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow() const

Definition at line 581 of Symbol.cpp
Declaration at line 205 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs


ClassInterfaceOrNsNoThrow Member Function

ContainerSymbol * cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow()

Definition at line 617 of Symbol.cpp
Declaration at line 206 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs

Called by: cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsScope , cmajor::symbols::Symbol::ClassInterfaceOrNsScope


ClassInterfaceOrNsScope Member Function

ContainerScope * cmajor::symbols::Symbol::ClassInterfaceOrNsScope()

Definition at line 996 of Symbol.cpp
Declaration at line 226 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


ClassInterfaceOrNsScope Member Function

const ContainerScope * cmajor::symbols::Symbol::ClassInterfaceOrNsScope() const

Definition at line 983 of Symbol.cpp
Declaration at line 225 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


ClassName Member Function

const char * cmajor::symbols::Symbol::ClassName() const virtual

Definition at line 246 of Symbol.hpp :
246 { return "Symbol"; }

Derived class overrides: cmajor::symbols::ArrayBeginFunction::ClassName , cmajor::symbols::ArrayCBeginFunction::ClassName , cmajor::symbols::ArrayCEndFunction::ClassName , cmajor::symbols::ArrayEndFunction::ClassName , cmajor::symbols::ArrayLengthFunction::ClassName , cmajor::symbols::ArrayTypeCopyAssignment::ClassName , cmajor::symbols::ArrayTypeCopyConstructor::ClassName , cmajor::symbols::ArrayTypeDefaultConstructor::ClassName , cmajor::symbols::ArrayTypeElementAccess::ClassName , cmajor::symbols::ArrayTypeMoveAssignment::ClassName , cmajor::symbols::ArrayTypeMoveConstructor::ClassName , cmajor::symbols::ArrayTypeSymbol::ClassName , cmajor::symbols::AxiomSymbol::ClassName , cmajor::symbols::BasicTypeBinaryOperation::ClassName , cmajor::symbols::BasicTypeComparisonOperation::ClassName , cmajor::symbols::BasicTypeConversion::ClassName , cmajor::symbols::BasicTypeCopyAssignment::ClassName , cmajor::symbols::BasicTypeCopyCtor::ClassName , cmajor::symbols::BasicTypeDefaultCtor::ClassName , cmajor::symbols::BasicTypeMoveAssignment::ClassName , cmajor::symbols::BasicTypeMoveCtor::ClassName , cmajor::symbols::BasicTypeReturn::ClassName , cmajor::symbols::BasicTypeSymbol::ClassName , cmajor::symbols::BasicTypeUnaryOperation::ClassName , cmajor::symbols::BoolTypeSymbol::ClassName , cmajor::symbols::BoundTemplateParameterSymbol::ClassName , cmajor::symbols::ByteTypeSymbol::ClassName , cmajor::symbols::CharTypeSymbol::ClassName , cmajor::symbols::ClassDelegateTypeCopyAssignment::ClassName , cmajor::symbols::ClassDelegateTypeCopyConstructor::ClassName , cmajor::symbols::ClassDelegateTypeDefaultConstructor::ClassName , cmajor::symbols::ClassDelegateTypeEquality::ClassName , cmajor::symbols::ClassDelegateTypeMoveAssignment::ClassName , cmajor::symbols::ClassDelegateTypeMoveConstructor::ClassName , cmajor::symbols::ClassDelegateTypeSymbol::ClassName , cmajor::symbols::ClassGroupTypeSymbol::ClassName , cmajor::symbols::ClassTemplateSpecializationSymbol::ClassName , cmajor::symbols::ClassToInterfaceConversion::ClassName , cmajor::symbols::ClassTypeSymbol::ClassName , cmajor::symbols::ConceptGroupSymbol::ClassName , cmajor::symbols::ConceptSymbol::ClassName , cmajor::symbols::ConstantSymbol::ClassName , cmajor::symbols::ConstructorSymbol::ClassName , cmajor::symbols::ContainerSymbol::ClassName , cmajor::symbols::ConversionFunctionSymbol::ClassName , cmajor::symbols::DeclarationBlock::ClassName , cmajor::symbols::DelegateToVoidPtrConversion::ClassName , cmajor::symbols::DelegateTypeCopyAssignment::ClassName , cmajor::symbols::DelegateTypeCopyConstructor::ClassName , cmajor::symbols::DelegateTypeDefaultConstructor::ClassName , cmajor::symbols::DelegateTypeEquality::ClassName , cmajor::symbols::DelegateTypeMoveAssignment::ClassName , cmajor::symbols::DelegateTypeMoveConstructor::ClassName , cmajor::symbols::DelegateTypeReturn::ClassName , cmajor::symbols::DelegateTypeSymbol::ClassName , cmajor::symbols::DerivedTypeSymbol::ClassName , cmajor::symbols::DestructorSymbol::ClassName , cmajor::symbols::DoubleTypeSymbol::ClassName , cmajor::symbols::EnumConstantSymbol::ClassName , cmajor::symbols::EnumTypeCopyAssignment::ClassName , cmajor::symbols::EnumTypeCopyConstructor::ClassName , cmajor::symbols::EnumTypeDefaultConstructor::ClassName , cmajor::symbols::EnumTypeEqualityOp::ClassName , cmajor::symbols::EnumTypeMoveAssignment::ClassName , cmajor::symbols::EnumTypeMoveConstructor::ClassName , cmajor::symbols::EnumTypeReturn::ClassName , cmajor::symbols::EnumTypeSymbol::ClassName , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::ClassName , cmajor::symbols::FloatTypeSymbol::ClassName , cmajor::symbols::FunctionGroupSymbol::ClassName , cmajor::symbols::FunctionGroupTypeSymbol::ClassName , cmajor::symbols::FunctionSymbol::ClassName , cmajor::symbols::FunctionToDelegateConversion::ClassName , cmajor::symbols::GlobalVariableGroupSymbol::ClassName , cmajor::symbols::GlobalVariableSymbol::ClassName , cmajor::symbols::IntTypeSymbol::ClassName , cmajor::symbols::InterfaceTypeCopyAssignment::ClassName , cmajor::symbols::InterfaceTypeCopyConstructor::ClassName , cmajor::symbols::InterfaceTypeDefaultConstructor::ClassName , cmajor::symbols::InterfaceTypeMoveAssignment::ClassName , cmajor::symbols::InterfaceTypeMoveConstructor::ClassName , cmajor::symbols::InterfaceTypeSymbol::ClassName , cmajor::symbols::LocalVariableSymbol::ClassName , cmajor::symbols::LongTypeSymbol::ClassName , cmajor::symbols::MemberExpressionTypeSymbol::ClassName , cmajor::symbols::MemberFunctionSymbol::ClassName , cmajor::symbols::MemberFunctionToClassDelegateConversion::ClassName , cmajor::symbols::MemberVariableSymbol::ClassName , cmajor::symbols::NamespaceSymbol::ClassName , cmajor::symbols::NullPtrType::ClassName , cmajor::symbols::ParameterSymbol::ClassName , cmajor::symbols::SByteTypeSymbol::ClassName , cmajor::symbols::ShortTypeSymbol::ClassName , cmajor::symbols::StaticConstructorSymbol::ClassName , cmajor::symbols::TemplateParameterSymbol::ClassName , cmajor::symbols::TypeSymbol::ClassName , cmajor::symbols::TypedefSymbol::ClassName , cmajor::symbols::UCharTypeSymbol::ClassName , cmajor::symbols::UIntTypeSymbol::ClassName , cmajor::symbols::ULongTypeSymbol::ClassName , cmajor::symbols::UShortTypeSymbol::ClassName , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::ClassName , cmajor::symbols::VariableSymbol::ClassName , cmajor::symbols::VoidPtrToDelegateConversion::ClassName , cmajor::symbols::VoidTypeSymbol::ClassName , cmajor::symbols::WCharTypeSymbol::ClassName

Called by: cmajor::symbols::Symbol::CreateDomElement


ClassNoThrow Member Function

ClassTypeSymbol * cmajor::symbols::Symbol::ClassNoThrow()

Definition at line 498 of Symbol.cpp
Declaration at line 202 of Symbol.hpp

Calls: cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::IsClassTypeSymbol

Called by: cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::ContainingClassNoThrow , cmajor::symbols::Symbol::ContainingClassNoThrow


ClassNoThrow Member Function

const ClassTypeSymbol * cmajor::symbols::Symbol::ClassNoThrow() const

Definition at line 479 of Symbol.cpp
Declaration at line 201 of Symbol.hpp

Calls: cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::IsClassTypeSymbol


ClassOrNsNoThrow Member Function

ContainerSymbol * cmajor::symbols::Symbol::ClassOrNsNoThrow()

Definition at line 549 of Symbol.cpp
Declaration at line 204 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs

Called by: cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::ClassOrNsScope , cmajor::symbols::Symbol::ClassOrNsScope


ClassOrNsNoThrow Member Function

const ContainerSymbol * cmajor::symbols::Symbol::ClassOrNsNoThrow() const

Definition at line 517 of Symbol.cpp
Declaration at line 203 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::IsClassTypeSymbol , cmajor::symbols::SymbolTable::GetMappedNs


ClassOrNsScope Member Function

const ContainerScope * cmajor::symbols::Symbol::ClassOrNsScope() const

Definition at line 957 of Symbol.cpp
Declaration at line 223 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


ClassOrNsScope Member Function

ContainerScope * cmajor::symbols::Symbol::ClassOrNsScope()

Definition at line 970 of Symbol.cpp
Declaration at line 224 of Symbol.hpp

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::SourceModuleId


CodeName Member Function

std::u32string cmajor::symbols::Symbol::CodeName() const virtual

Definition at line 160 of Symbol.hpp :
160 { return Name(); }

Derived class overrides: cmajor::symbols::ClassTypeSymbol::CodeName , cmajor::symbols::ConceptSymbol::CodeName , cmajor::symbols::ConstructorSymbol::CodeName , cmajor::symbols::DestructorSymbol::CodeName , cmajor::symbols::FunctionSymbol::CodeName , cmajor::symbols::ParameterSymbol::CodeName , cmajor::symbols::StaticConstructorSymbol::CodeName

Calls: cmajor::symbols::Symbol::Name

Called by: cmajor::symbols::ConstructorSymbol::CodeName , cmajor::symbols::DestructorSymbol::CodeName , cmajor::symbols::ParameterSymbol::CodeName , cmajor::symbols::StaticConstructorSymbol::CodeName


ComputeMangledName Member Function

void cmajor::symbols::Symbol::ComputeMangledName() virtual

Definition at line 286 of Symbol.cpp :
 287 {
 288     mangledName = ToUtf32(TypeString());
 289     mangledName.append(1U'_').append(SimpleName());
 290     mangledName.append(1U'_').append(ToUtf32(GetSha1MessageDigest(ToUtf8(FullNameWithSpecifiers()))));
 291 }


Declaration at line 165 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassTypeSymbol::ComputeMangledName , cmajor::symbols::ConstantSymbol::ComputeMangledName , cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableGroupSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableSymbol::ComputeMangledName

Calls: cmajor::symbols::Symbol::FullNameWithSpecifiers , cmajor::symbols::Symbol::SimpleName , cmajor::symbols::Symbol::TypeString

Called by: cmajor::symbols::ConceptSymbol::ComputeName , cmajor::symbols::ConstantSymbol::ComputeMangledName


ContainingClassNoThrow Member Function

ClassTypeSymbol * cmajor::symbols::Symbol::ContainingClassNoThrow()

Definition at line 795 of Symbol.cpp :
 796 {
 797     if (parent)
 798     {
 799         return parent->ClassNoThrow();
 800     }
 801     else
 802     {
 803         return nullptr;
 804     }
 805 }


Declaration at line 212 of Symbol.hpp

Calls: cmajor::symbols::Symbol::ClassNoThrow

Called by: cmajor::symbols::Symbol::SetAccess


ContainingClassNoThrow Member Function

const ClassTypeSymbol * cmajor::symbols::Symbol::ContainingClassNoThrow() const

Definition at line 783 of Symbol.cpp :
 784 {
 785     if (parent)
 786     {
 787         return parent->ClassNoThrow();
 788     }
 789     else
 790     {
 791         return nullptr;
 792     }
 793 }


Declaration at line 211 of Symbol.hpp

Calls: cmajor::symbols::Symbol::ClassNoThrow


ContainingFunctionNoThrow Member Function

FunctionSymbol * cmajor::symbols::Symbol::ContainingFunctionNoThrow()

Definition at line 945 of Symbol.cpp :
 946 {
 947     if (parent)
 948     {
 949         return parent->FunctionNoThrow();
 950     }
 951     else
 952     {
 953         return nullptr;
 954     }
 955 }


Declaration at line 222 of Symbol.hpp

Calls: cmajor::symbols::Symbol::FunctionNoThrow


ContainingFunctionNoThrow Member Function

const FunctionSymbol * cmajor::symbols::Symbol::ContainingFunctionNoThrow() const

Definition at line 933 of Symbol.cpp :
 934 {
 935     if (parent)
 936     {
 937         return parent->FunctionNoThrow();
 938     }
 939     else
 940     {
 941         return nullptr;
 942     }
 943 }


Declaration at line 221 of Symbol.hpp

Calls: cmajor::symbols::Symbol::FunctionNoThrow


ContainingInterfaceNoThrow Member Function

InterfaceTypeSymbol * cmajor::symbols::Symbol::ContainingInterfaceNoThrow()

Definition at line 857 of Symbol.cpp :
 858 {
 859     if (parent)
 860     {
 861         return parent->InterfaceNoThrow();
 862     }
 863     else
 864     {
 865         return nullptr;
 866     }
 867 }


Declaration at line 216 of Symbol.hpp

Calls: cmajor::symbols::Symbol::InterfaceNoThrow

Called by: cmajor::symbols::Symbol::SetAccess


ContainingInterfaceNoThrow Member Function

const InterfaceTypeSymbol * cmajor::symbols::Symbol::ContainingInterfaceNoThrow() const

Definition at line 845 of Symbol.cpp :
 846 {
 847     if (parent)
 848     {
 849         return parent->InterfaceNoThrow();
 850     }
 851     else
 852     {
 853         return nullptr;
 854     }
 855 }


Declaration at line 215 of Symbol.hpp

Calls: cmajor::symbols::Symbol::InterfaceNoThrow


CopyFrom Member Function

void cmajor::symbols::Symbol::CopyFrom(const Symbol * that) virtual

Definition at line 313 of Symbol.cpp
Declaration at line 169 of Symbol.hpp

Derived class overrides: cmajor::symbols::ContainerSymbol::CopyFrom , cmajor::symbols::FunctionSymbol::CopyFrom

Called by: cmajor::symbols::ContainerSymbol::CopyFrom


CreateDomElement Member Function

std::unique_ptr<Element > cmajor::symbols::Symbol::CreateDomElement(TypeMap & typeMap) virtual

Definition at line 1055 of Symbol.cpp :
1056 {
1057     return std::unique_ptr<sngxml::dom::Element>(new sngxml::dom::Element(ToUtf32(ClassName())));
1058 }


Declaration at line 238 of Symbol.hpp

Derived class overrides: cmajor::symbols::BoundTemplateParameterSymbol::CreateDomElement , cmajor::symbols::ConversionFunctionSymbol::CreateDomElement , cmajor::symbols::FunctionSymbol::CreateDomElement , cmajor::symbols::LocalVariableSymbol::CreateDomElement , cmajor::symbols::MemberVariableSymbol::CreateDomElement , cmajor::symbols::NamespaceSymbol::CreateDomElement , cmajor::symbols::ParameterSymbol::CreateDomElement , cmajor::symbols::TypedefSymbol::CreateDomElement

Calls: cmajor::symbols::Symbol::ClassName

Called by: cmajor::symbols::Symbol::ToDomElement


DeclaredAccess Member Function

SymbolAccess cmajor::symbols::Symbol::DeclaredAccess() const virtual

Definition at line 162 of Symbol.hpp :
162 { return Access(); }

Derived class overrides: cmajor::symbols::AxiomSymbol::DeclaredAccess , cmajor::symbols::BasicTypeBinaryOperation::DeclaredAccess , cmajor::symbols::BasicTypeComparisonOperation::DeclaredAccess , cmajor::symbols::BasicTypeConversion::DeclaredAccess , cmajor::symbols::BasicTypeCopyAssignment::DeclaredAccess , cmajor::symbols::BasicTypeCopyCtor::DeclaredAccess , cmajor::symbols::BasicTypeDefaultCtor::DeclaredAccess , cmajor::symbols::BasicTypeMoveAssignment::DeclaredAccess , cmajor::symbols::BasicTypeMoveCtor::DeclaredAccess , cmajor::symbols::BasicTypeReturn::DeclaredAccess , cmajor::symbols::BasicTypeUnaryOperation::DeclaredAccess , cmajor::symbols::ClassDelegateTypeCopyAssignment::DeclaredAccess , cmajor::symbols::ClassDelegateTypeCopyConstructor::DeclaredAccess , cmajor::symbols::ClassDelegateTypeDefaultConstructor::DeclaredAccess , cmajor::symbols::ClassDelegateTypeEquality::DeclaredAccess , cmajor::symbols::ClassDelegateTypeMoveAssignment::DeclaredAccess , cmajor::symbols::ClassDelegateTypeMoveConstructor::DeclaredAccess , cmajor::symbols::ConceptGroupSymbol::DeclaredAccess , cmajor::symbols::DelegateTypeCopyAssignment::DeclaredAccess , cmajor::symbols::DelegateTypeCopyConstructor::DeclaredAccess , cmajor::symbols::DelegateTypeDefaultConstructor::DeclaredAccess , cmajor::symbols::DelegateTypeEquality::DeclaredAccess , cmajor::symbols::DelegateTypeMoveAssignment::DeclaredAccess , cmajor::symbols::DelegateTypeMoveConstructor::DeclaredAccess , cmajor::symbols::DelegateTypeReturn::DeclaredAccess , cmajor::symbols::EnumConstantSymbol::DeclaredAccess , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::DeclaredAccess , cmajor::symbols::LocalVariableSymbol::DeclaredAccess , cmajor::symbols::ParameterSymbol::DeclaredAccess , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::DeclaredAccess

Calls: cmajor::symbols::Symbol::Access


DocName Member Function

std::u32string cmajor::symbols::Symbol::DocName() const virtual

Definition at line 159 of Symbol.hpp :
159 { return Name(); }

Derived class overrides: cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::ConversionFunctionSymbol::DocName , cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::MemberFunctionSymbol::DocName

Calls: cmajor::symbols::Symbol::Name

Called by: cmajor::symbols::ByDocName::operator() , cmajor::symbols::ClassDelegateTypeSymbol::Syntax , cmajor::symbols::ConstantSymbol::Syntax , cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::DelegateTypeSymbol::Syntax , cmajor::symbols::EnumTypeSymbol::Syntax , cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::FunctionSymbol::Syntax , cmajor::symbols::GlobalVariableSymbol::Syntax , cmajor::symbols::MemberVariableSymbol::Syntax , cmajor::symbols::Symbol::Syntax , cmajor::symbols::TypedefSymbol::Syntax


Dump Member Function

void cmajor::symbols::Symbol::Dump(CodeFormatter & formatter) virtual

Definition at line 166 of Symbol.hpp :
166 {}

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


EmplaceConcept Member Function

void cmajor::symbols::Symbol::EmplaceConcept(ConceptSymbol * conceptSymbol) virtual

Definition at line 139 of Symbol.hpp :
139 {}

Derived class overrides: cmajor::symbols::ConceptSymbol::EmplaceConcept

Called by: cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests


EmplaceFunction Member Function

void cmajor::symbols::Symbol::EmplaceFunction(FunctionSymbol * functionSymbol, int index) virtual

Definition at line 140 of Symbol.hpp :
140 {}

Derived class overrides: cmajor::symbols::BasicTypeSymbol::EmplaceFunction , cmajor::symbols::ClassTypeSymbol::EmplaceFunction , cmajor::symbols::EnumTypeCopyAssignment::EmplaceFunction , cmajor::symbols::EnumTypeCopyConstructor::EmplaceFunction , cmajor::symbols::EnumTypeDefaultConstructor::EmplaceFunction , cmajor::symbols::EnumTypeEqualityOp::EmplaceFunction , cmajor::symbols::EnumTypeMoveAssignment::EmplaceFunction , cmajor::symbols::EnumTypeMoveConstructor::EmplaceFunction , cmajor::symbols::EnumTypeReturn::EmplaceFunction , cmajor::symbols::FunctionSymbol::EmplaceFunction

Called by: cmajor::symbols::SymbolTable::EmplaceFunctionRequest , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests


EmplaceType Member Function

void cmajor::symbols::Symbol::EmplaceType(TypeSymbol * typeSymbol, int index) virtual

Definition at line 138 of Symbol.hpp :
138 {}

Derived class overrides: cmajor::symbols::ArrayBeginFunction::EmplaceType , cmajor::symbols::ArrayCBeginFunction::EmplaceType , cmajor::symbols::ArrayCEndFunction::EmplaceType , cmajor::symbols::ArrayEndFunction::EmplaceType , cmajor::symbols::ArrayLengthFunction::EmplaceType , cmajor::symbols::ArrayTypeSymbol::EmplaceType , cmajor::symbols::BasicTypeConversion::EmplaceType , cmajor::symbols::ClassDelegateTypeDefaultConstructor::EmplaceType , cmajor::symbols::ClassDelegateTypeSymbol::EmplaceType , cmajor::symbols::ClassTemplateSpecializationSymbol::EmplaceType , cmajor::symbols::ClassTypeSymbol::EmplaceType , cmajor::symbols::ConceptSymbol::EmplaceType , cmajor::symbols::ConstantSymbol::EmplaceType , cmajor::symbols::DelegateTypeDefaultConstructor::EmplaceType , cmajor::symbols::DelegateTypeSymbol::EmplaceType , cmajor::symbols::DerivedTypeSymbol::EmplaceType , cmajor::symbols::EnumTypeSymbol::EmplaceType , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::EmplaceType , cmajor::symbols::FunctionSymbol::EmplaceType , cmajor::symbols::TemplateParameterSymbol::EmplaceType , cmajor::symbols::TypedefSymbol::EmplaceType , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::EmplaceType , cmajor::symbols::VariableSymbol::EmplaceType

Called by: cmajor::symbols::ClassDelegateTypeSymbol::EmplaceType , cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests


FullName Member Function

std::u32string cmajor::symbols::Symbol::FullName() const virtual

Definition at line 255 of Symbol.cpp
Declaration at line 156 of Symbol.hpp

Derived class overrides: cmajor::symbols::BoundTemplateParameterSymbol::FullName , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::TemplateParameterSymbol::FullName

Calls: cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::Name

Called by: cmajor::symbols::ArrayTypeSymbol::CreateDefaultIrValue , cmajor::symbols::ArrayTypeSymbol::IrType , cmajor::symbols::ByFullName::operator() , cmajor::symbols::ClassDelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::ClassGroupTypeSymbol::GetSymbolHelp , cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::ClassTypeSymbol::InitImts , cmajor::symbols::ClassTypeSymbol::VmtObject , cmajor::symbols::ConceptGroupSymbol::AddConcept , cmajor::symbols::ConceptGroupSymbol::GetConcept , cmajor::symbols::ConceptGroupSymbol::GetSymbolHelp , cmajor::symbols::ConceptSymbol::Dump , cmajor::symbols::ConstantSymbol::Dump , cmajor::symbols::ConstantSymbol::GetSymbolHelp , cmajor::symbols::ConstantSymbol::GetValue , cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::ContainerSymbol::HasProjectMembers , cmajor::symbols::ContainerSymbol::MakeClassGroupTypeSymbol , cmajor::symbols::ContainerSymbol::MakeConceptGroupSymbol , cmajor::symbols::ContainerSymbol::MakeFunctionGroupSymbol , cmajor::symbols::ContainerSymbol::MakeGlobalVariableGroupSymbol , cmajor::symbols::ConversionFunctionSymbol::DocName , cmajor::symbols::DelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::EnumTypeSymbol::Dump , cmajor::symbols::FileScope::Lookup , cmajor::symbols::FunctionGroupSymbol::CheckDuplicateFunctionSymbols , cmajor::symbols::FunctionGroupSymbol::GetSymbolHelp , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::ComputeName , cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::FunctionSymbol::Dump , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::FunctionSymbol::GetSymbolHelp , cmajor::symbols::GlobalVariableGroupSymbol::GetSymbolHelp , cmajor::symbols::GlobalVariableSymbol::Dump , cmajor::symbols::LocalVariableSymbol::GetSymbolHelp , cmajor::symbols::MemberFunctionSymbol::DocName , cmajor::symbols::MemberVariableSymbol::Dump , cmajor::symbols::NamespaceSymbol::Id , cmajor::symbols::ParameterSymbol::GetSymbolHelp , cmajor::symbols::Sources::ParseSource , cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::FullNameWithSpecifiers , cmajor::symbols::Symbol::GetSymbolHelp , cmajor::symbols::SymbolTable::AddTypeSymbolToGlobalScope , cmajor::symbols::SymbolTable::Import , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::TypeIndex::AddType , cmajor::symbols::TypeSymbol::GetDIType , cmajor::symbols::TypedefSymbol::Dump , cmajor::symbols::TypedefSymbol::GetSymbolHelp , cmajor::symbols::VariableSymbol::GetSymbolHelp


FullNameWithSpecifiers Member Function

std::u32string cmajor::symbols::Symbol::FullNameWithSpecifiers() const virtual

Definition at line 270 of Symbol.cpp :
 271 {
 272     std::u32string fullNameWithSpecifiers = ToUtf32(SymbolFlagStr(GetStableSymbolFlags()));
 273     if (!fullNameWithSpecifiers.empty())
 274     {
 275         fullNameWithSpecifiers.append(1U' ');
 276     }
 277     fullNameWithSpecifiers.append(FullName());
 278     return fullNameWithSpecifiers;
 279 }


Declaration at line 157 of Symbol.hpp

Derived class overrides: cmajor::symbols::FunctionSymbol::FullNameWithSpecifiers , cmajor::symbols::StaticConstructorSymbol::FullNameWithSpecifiers

Calls: cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::GetStableSymbolFlags

Called by: cmajor::symbols::ClassDelegateTypeSymbol::Dump , cmajor::symbols::ClassTypeSymbol::ComputeMangledName , cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::ClassTypeSymbol::ImtArrayObjectName , cmajor::symbols::ClassTypeSymbol::ImtObjectName , cmajor::symbols::ClassTypeSymbol::StaticObjectName , cmajor::symbols::ClassTypeSymbol::VmtObjectNameStr , cmajor::symbols::ConceptSymbol::Dump , cmajor::symbols::ConstantSymbol::Dump , cmajor::symbols::DelegateTypeSymbol::Dump , cmajor::symbols::EnumTypeSymbol::Dump , cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableGroupSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableSymbol::Dump , cmajor::symbols::MemberVariableSymbol::Dump , cmajor::symbols::Symbol::ComputeMangledName , cmajor::symbols::TypedefSymbol::Dump


Function Member Function

const FunctionSymbol * cmajor::symbols::Symbol::Function() const

Definition at line 907 of Symbol.cpp
Declaration at line 219 of Symbol.hpp

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


Function Member Function

FunctionSymbol * cmajor::symbols::Symbol::Function()

Definition at line 920 of Symbol.cpp
Declaration at line 220 of Symbol.hpp

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

Called by: cmajor::symbols::DeclarationBlock::AddMember


FunctionNoThrow Member Function

FunctionSymbol * cmajor::symbols::Symbol::FunctionNoThrow()

Definition at line 888 of Symbol.cpp
Declaration at line 218 of Symbol.hpp

Calls: cmajor::symbols::Symbol::FunctionNoThrow , cmajor::symbols::Symbol::IsFunctionSymbol

Called by: cmajor::symbols::Source::GetCCList , cmajor::symbols::Symbol::ContainingFunctionNoThrow , cmajor::symbols::Symbol::ContainingFunctionNoThrow , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::FunctionNoThrow , cmajor::symbols::Symbol::FunctionNoThrow


FunctionNoThrow Member Function

const FunctionSymbol * cmajor::symbols::Symbol::FunctionNoThrow() const

Definition at line 869 of Symbol.cpp
Declaration at line 217 of Symbol.hpp

Calls: cmajor::symbols::Symbol::FunctionNoThrow , cmajor::symbols::Symbol::IsFunctionSymbol

Called by: cmajor::symbols::ContainerScope::LookupQualifiedBeginWith


GetArrowScope Member Function

ContainerScope * cmajor::symbols::Symbol::GetArrowScope() virtual

Definition at line 245 of Symbol.cpp :
 246 {
 247     return module->GetSymbolTable().GlobalNs().GetContainerScope();
 248 }


Declaration at line 154 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope , cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope , cmajor::symbols::ClassTypeSymbol::GetArrowScope , cmajor::symbols::ClassTypeSymbol::GetArrowScope , cmajor::symbols::DerivedTypeSymbol::GetArrowScope , cmajor::symbols::DerivedTypeSymbol::GetArrowScope

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::SymbolTable::GlobalNs

Called by: cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope , cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope


GetArrowScope Member Function

const ContainerScope * cmajor::symbols::Symbol::GetArrowScope() const virtual

Definition at line 250 of Symbol.cpp :
 251 {
 252     return module->GetSymbolTable().GlobalNs().GetContainerScope();
 253 }


Declaration at line 155 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope , cmajor::symbols::ClassTemplateSpecializationSymbol::GetArrowScope , cmajor::symbols::ClassTypeSymbol::GetArrowScope , cmajor::symbols::ClassTypeSymbol::GetArrowScope , cmajor::symbols::DerivedTypeSymbol::GetArrowScope , cmajor::symbols::DerivedTypeSymbol::GetArrowScope

Calls: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::SymbolTable::GlobalNs

Called by: cmajor::symbols::ContainerScope::LookupQualifiedBeginWith


GetAttributes Member Function

AttributesNode * cmajor::symbols::Symbol::GetAttributes() const

Definition at line 236 of Symbol.hpp :
236 { return attributes.get(); }


GetCompileUnit Member Function

const CompileUnitNode * cmajor::symbols::Symbol::GetCompileUnit() const

Definition at line 232 of Symbol.hpp :
232 { return compileUnit; }


GetContainerScope Member Function

ContainerScope * cmajor::symbols::Symbol::GetContainerScope() virtual

Definition at line 230 of Symbol.cpp :
 231 {
 232     return parent ? parent->GetContainerScope() : nullptr;
 233 }


Declaration at line 151 of Symbol.hpp

Derived class overrides: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::ContainerSymbol::GetContainerScope

Calls: cmajor::symbols::Symbol::GetContainerScope

Called by: cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::LookupQualified , cmajor::symbols::ContainerScope::ParentScope , cmajor::symbols::ContainerSymbol::CopyFrom , cmajor::symbols::FileScope::InstallNamespaceImport , cmajor::symbols::Symbol::GetContainerScope , cmajor::symbols::Symbol::GetContainerScope , cmajor::symbols::Symbol::GetTypeScope , cmajor::symbols::Symbol::GetTypeScope


GetContainerScope Member Function

const ContainerScope * cmajor::symbols::Symbol::GetContainerScope() const virtual

Definition at line 225 of Symbol.cpp :
 226 {
 227     return parent ? parent->GetContainerScope() : nullptr;
 228 }


Declaration at line 150 of Symbol.hpp

Derived class overrides: cmajor::symbols::ContainerSymbol::GetContainerScope , cmajor::symbols::ContainerSymbol::GetContainerScope

Calls: cmajor::symbols::Symbol::GetContainerScope


GetFlag Member Function

bool cmajor::symbols::Symbol::GetFlag(SymbolFlags flag) const

Definition at line 193 of Symbol.hpp :
193 { return (flags & flag) != SymbolFlags::none; }

Called by: cmajor::symbols::Symbol::IsBound , cmajor::symbols::Symbol::IsExternal , cmajor::symbols::Symbol::IsInstalled , cmajor::symbols::Symbol::IsNothrow , cmajor::symbols::Symbol::IsProject , cmajor::symbols::Symbol::IsStatic


GetLocation Member Function

bool cmajor::symbols::Symbol::GetLocation(SymbolLocation & definitionLocation) const

Definition at line 1080 of Symbol.cpp :
1081 {
1082     Module* sourceModule = GetModuleById(sourceModuleId);
1083     if (!sourceModule) return false;
1084     int32_t scol = 0;
1085     int32_t ecol = 0;
1086     sourceModule->GetColumns(spanscolecol);
1087     definitionLocation = SymbolLocation(sourceModule->Id()span.fileIndexspan.linescolecol);
1088     return true;
1089 }


Declaration at line 247 of Symbol.hpp

Calls: cmajor::symbols::Module::GetColumns , cmajor::symbols::Module::Id

Called by: cmajor::symbols::SymbolTable::MapIdentifierToSymbolDefinition


GetModule Member Function

Module * cmajor::symbols::Symbol::GetModule()

Definition at line 230 of Symbol.hpp :
230 { return module; }

Called by: cmajor::symbols::ArrayTypeCopyAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeCopyConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeDefaultConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeMoveAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeMoveConstructor::CreateTemporariesTo , cmajor::symbols::ClassGroupTypeSymbol::IsValidCCClassGroup , cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::ParentScope , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::DerivedTypeSymbol::ComputeTypeId , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::Ns


GetModule Member Function

Module * cmajor::symbols::Symbol::GetModule() const

Definition at line 229 of Symbol.hpp :
229 { return module; }


GetSpan Member Function

const Span & cmajor::symbols::Symbol::GetSpan() const

Definition at line 177 of Symbol.hpp :
177 { return span; }

Called by: cmajor::symbols::ArrayBeginFunction::Check , cmajor::symbols::ArrayCBeginFunction::Check , cmajor::symbols::ArrayCEndFunction::Check , cmajor::symbols::ArrayEndFunction::Check , cmajor::symbols::ArrayLengthFunction::Check , cmajor::symbols::ArrayTypeCopyAssignment::Check , cmajor::symbols::ArrayTypeCopyAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeCopyConstructor::Check , cmajor::symbols::ArrayTypeCopyConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeDefaultConstructor::Check , cmajor::symbols::ArrayTypeDefaultConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeElementAccess::Check , cmajor::symbols::ArrayTypeMoveAssignment::Check , cmajor::symbols::ArrayTypeMoveAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeMoveConstructor::Check , cmajor::symbols::ArrayTypeMoveConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeSymbol::Check , cmajor::symbols::ArrayTypeSymbol::CreateDefaultIrValue , cmajor::symbols::ArrayTypeSymbol::EmplaceType , cmajor::symbols::ArrayTypeSymbol::IrType , cmajor::symbols::ArrayTypeSymbol::MakeValue , cmajor::symbols::BasicTypeConversion::Check , cmajor::symbols::BasicTypeSymbol::Check , cmajor::symbols::BoolTypeSymbol::MakeValue , cmajor::symbols::BoundTemplateParameterSymbol::Check , cmajor::symbols::ByteTypeSymbol::MakeValue , cmajor::symbols::CharTypeSymbol::MakeValue , cmajor::symbols::ClassDelegateTypeDefaultConstructor::Check , cmajor::symbols::ClassDelegateTypeSymbol::Check , cmajor::symbols::ClassDelegateTypeSymbol::SetSpecifiers , cmajor::symbols::ClassGroupTypeSymbol::AddClass , cmajor::symbols::ClassGroupTypeSymbol::Check , cmajor::symbols::ClassTemplateSpecializationSymbol::Check , cmajor::symbols::ClassToInterfaceConversion::Check , cmajor::symbols::ClassToInterfaceConversion::CreateTemporariesTo , cmajor::symbols::ClassTypeSymbol::AddImplementedInterface , cmajor::symbols::ClassTypeSymbol::AddMember , cmajor::symbols::ClassTypeSymbol::Check , cmajor::symbols::ClassTypeSymbol::CreateDIForwardDeclaration , cmajor::symbols::ClassTypeSymbol::CreateDIType , cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::ClassTypeSymbol::CreateLayouts , cmajor::symbols::ClassTypeSymbol::InitImts , cmajor::symbols::ClassTypeSymbol::InitVmt , cmajor::symbols::ClassTypeSymbol::InitVmt , cmajor::symbols::ClassTypeSymbol::IrType , cmajor::symbols::ClassTypeSymbol::MakeValue , cmajor::symbols::ClassTypeSymbol::SetSpecifiers , cmajor::symbols::ClassTypeSymbol::VmtPtrHolderClass , cmajor::symbols::ConceptGroupSymbol::AddConcept , cmajor::symbols::ConceptGroupSymbol::Check , cmajor::symbols::ConceptGroupSymbol::GetConcept , cmajor::symbols::ConceptSymbol::Check , cmajor::symbols::ConceptSymbol::EmplaceType , cmajor::symbols::ConceptSymbol::SetSpecifiers , cmajor::symbols::ConstantSymbol::ArrayIrObject , cmajor::symbols::ConstantSymbol::Check , cmajor::symbols::ConstantSymbol::GetValue , cmajor::symbols::ConstantSymbol::Read , cmajor::symbols::ConstantSymbol::SetSpecifiers , cmajor::symbols::ConstantSymbol::StructureIrObject , cmajor::symbols::ConstructorSymbol::Copy , cmajor::symbols::ConstructorSymbol::SetSpecifiers , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::Install , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::ContainerSymbol::AddOwnedMember , cmajor::symbols::ContainerSymbol::Check , cmajor::symbols::ContainerSymbol::MakeClassGroupTypeSymbol , cmajor::symbols::ContainerSymbol::MakeConceptGroupSymbol , cmajor::symbols::ContainerSymbol::MakeFunctionGroupSymbol , cmajor::symbols::ContainerSymbol::MakeGlobalVariableGroupSymbol , cmajor::symbols::ConversionFunctionSymbol::Copy , cmajor::symbols::ConversionFunctionSymbol::SetSpecifiers , cmajor::symbols::DelegateTypeDefaultConstructor::Check , cmajor::symbols::DelegateTypeSymbol::Check , cmajor::symbols::DelegateTypeSymbol::SetSpecifiers , cmajor::symbols::DerivedTypeSymbol::Check , cmajor::symbols::DestructorSymbol::Copy , cmajor::symbols::DestructorSymbol::SetSpecifiers , cmajor::symbols::DoubleTypeSymbol::MakeValue , cmajor::symbols::EnumConstantSymbol::Read , cmajor::symbols::EnumTypeCopyAssignment::Check , cmajor::symbols::EnumTypeCopyConstructor::Check , cmajor::symbols::EnumTypeDefaultConstructor::Check , cmajor::symbols::EnumTypeEqualityOp::Check , cmajor::symbols::EnumTypeMoveAssignment::Check , cmajor::symbols::EnumTypeMoveConstructor::Check , cmajor::symbols::EnumTypeReturn::Check , cmajor::symbols::EnumTypeSymbol::Check , cmajor::symbols::EnumTypeSymbol::CreateDIType , cmajor::symbols::EnumTypeSymbol::SetSpecifiers , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::Check , cmajor::symbols::FileScope::Lookup , cmajor::symbols::FloatTypeSymbol::MakeValue , cmajor::symbols::FunctionGroupSymbol::Check , cmajor::symbols::FunctionGroupSymbol::CheckDuplicateFunctionSymbols , cmajor::symbols::FunctionSymbol::Check , cmajor::symbols::FunctionSymbol::ComputeName , cmajor::symbols::FunctionSymbol::Copy , cmajor::symbols::FunctionSymbol::EmplaceType , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::FunctionSymbol::GenerateVirtualCall , cmajor::symbols::FunctionSymbol::Id , cmajor::symbols::FunctionSymbol::IrType , cmajor::symbols::FunctionSymbol::IsCopyAssignment , cmajor::symbols::FunctionSymbol::IsCopyConstructor , cmajor::symbols::FunctionSymbol::IsDefaultConstructor , cmajor::symbols::FunctionSymbol::IsMoveAssignment , cmajor::symbols::FunctionSymbol::IsMoveConstructor , cmajor::symbols::FunctionSymbol::SetSpecifiers , cmajor::symbols::FunctionToDelegateConversion::Check , cmajor::symbols::GlobalVariableGroupSymbol::AddGlobalVariable , cmajor::symbols::GlobalVariableSymbol::Read , cmajor::symbols::GlobalVariableSymbol::SetSpecifiers , cmajor::symbols::IntTypeSymbol::MakeValue , cmajor::symbols::InterfaceTypeSymbol::Check , cmajor::symbols::InterfaceTypeSymbol::SetSpecifiers , cmajor::symbols::LongTypeSymbol::MakeValue , cmajor::symbols::MemberFunctionSymbol::Copy , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::MemberFunctionToClassDelegateConversion::Check , cmajor::symbols::MemberFunctionToClassDelegateConversion::CreateTemporariesTo , cmajor::symbols::MemberVariableSymbol::Check , cmajor::symbols::MemberVariableSymbol::GetDIMemberType , cmajor::symbols::MemberVariableSymbol::SetSpecifiers , cmajor::symbols::NamespaceSymbol::Import , cmajor::symbols::ParameterSymbol::Clone , cmajor::symbols::SByteTypeSymbol::MakeValue , cmajor::symbols::ShortTypeSymbol::MakeValue , cmajor::symbols::StaticConstructorSymbol::Copy , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers , cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope , cmajor::symbols::Symbol::ClassInterfaceOrNsScope , cmajor::symbols::Symbol::ClassInterfaceOrNsScope , cmajor::symbols::Symbol::ClassOrNsScope , cmajor::symbols::Symbol::ClassOrNsScope , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::SymbolTable::AddClassHavingStaticConstructor , cmajor::symbols::SymbolTable::AddPolymorphicClass , cmajor::symbols::SymbolTable::BeginFunction , cmajor::symbols::SymbolTable::BeginNamespace , cmajor::symbols::SymbolTable::Check , cmajor::symbols::SymbolTable::CopyClassTemplateSpecialization , cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::MakeDerivedType , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests , cmajor::symbols::SymbolWriter::Write , cmajor::symbols::TypeIndex::AddType , cmajor::symbols::TypeSymbol::Check , cmajor::symbols::TypedefSymbol::Check , cmajor::symbols::TypedefSymbol::SetSpecifiers , cmajor::symbols::UCharTypeSymbol::MakeValue , cmajor::symbols::UIntTypeSymbol::MakeValue , cmajor::symbols::ULongTypeSymbol::MakeValue , cmajor::symbols::UShortTypeSymbol::MakeValue , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::Check , cmajor::symbols::VariableSymbol::Check , cmajor::symbols::WCharTypeSymbol::MakeValue


GetSpecifierStr Member Function

std::string cmajor::symbols::Symbol::GetSpecifierStr() const virtual

Definition at line 293 of Symbol.cpp :
 294 {
 295     return SymbolFlagStr(flags);
 296 }


Declaration at line 167 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassTypeSymbol::GetSpecifierStr , cmajor::symbols::FunctionSymbol::GetSpecifierStr

Called by: cmajor::symbols::ClassDelegateTypeSymbol::Syntax , cmajor::symbols::ClassTypeSymbol::GetSpecifierStr , cmajor::symbols::ConstantSymbol::Syntax , cmajor::symbols::DelegateTypeSymbol::Syntax , cmajor::symbols::EnumTypeSymbol::Syntax , cmajor::symbols::GlobalVariableSymbol::Syntax , cmajor::symbols::MemberVariableSymbol::Syntax , cmajor::symbols::Symbol::Syntax , cmajor::symbols::TypedefSymbol::Syntax


GetStableSymbolFlags Member Function

SymbolFlags cmajor::symbols::Symbol::GetStableSymbolFlags() const

Definition at line 182 of Symbol.hpp :
182 { return flags & ~(SymbolFlags::project | SymbolFlags::bound | SymbolFlags::installed); }

Called by: cmajor::symbols::FunctionSymbol::FullNameWithSpecifiers , cmajor::symbols::FunctionSymbol::GetSpecifierStr , cmajor::symbols::StaticConstructorSymbol::FullNameWithSpecifiers , cmajor::symbols::Symbol::FullNameWithSpecifiers


GetSymbolCategoryDescription Member Function

std::string cmajor::symbols::Symbol::GetSymbolCategoryDescription() const virtual

Definition at line 241 of Symbol.hpp :
241 { return "symbol"; }

Derived class overrides: cmajor::symbols::ArrayTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::BasicTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::ClassDelegateTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::ClassGroupTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::ClassTemplateSpecializationSymbol::GetSymbolCategoryDescription , cmajor::symbols::ClassTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::ConceptGroupSymbol::GetSymbolCategoryDescription , cmajor::symbols::ConceptSymbol::GetSymbolCategoryDescription , cmajor::symbols::ConstantSymbol::GetSymbolCategoryDescription , cmajor::symbols::DelegateTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::EnumConstantSymbol::GetSymbolCategoryDescription , cmajor::symbols::EnumTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::FunctionGroupSymbol::GetSymbolCategoryDescription , cmajor::symbols::FunctionSymbol::GetSymbolCategoryDescription , cmajor::symbols::GlobalVariableGroupSymbol::GetSymbolCategoryDescription , cmajor::symbols::GlobalVariableSymbol::GetSymbolCategoryDescription , cmajor::symbols::InterfaceTypeSymbol::GetSymbolCategoryDescription , cmajor::symbols::LocalVariableSymbol::GetSymbolCategoryDescription , cmajor::symbols::MemberVariableSymbol::GetSymbolCategoryDescription , cmajor::symbols::NamespaceSymbol::GetSymbolCategoryDescription , cmajor::symbols::ParameterSymbol::GetSymbolCategoryDescription , cmajor::symbols::TemplateParameterSymbol::GetSymbolCategoryDescription , cmajor::symbols::TypedefSymbol::GetSymbolCategoryDescription

Called by: cmajor::symbols::Symbol::GetSymbolHelp , cmajor::symbols::VariableSymbol::GetSymbolHelp


GetSymbolCategoryStr Member Function

std::string cmajor::symbols::Symbol::GetSymbolCategoryStr() const virtual

Definition at line 240 of Symbol.hpp :
240 { return "SY"; }

Derived class overrides: cmajor::symbols::ArrayTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::BasicTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::ClassDelegateTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::ClassGroupTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::ClassTemplateSpecializationSymbol::GetSymbolCategoryStr , cmajor::symbols::ClassTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::ConceptGroupSymbol::GetSymbolCategoryStr , cmajor::symbols::ConceptSymbol::GetSymbolCategoryStr , cmajor::symbols::ConstantSymbol::GetSymbolCategoryStr , cmajor::symbols::DelegateTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::EnumConstantSymbol::GetSymbolCategoryStr , cmajor::symbols::EnumTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::FunctionGroupSymbol::GetSymbolCategoryStr , cmajor::symbols::FunctionSymbol::GetSymbolCategoryStr , cmajor::symbols::GlobalVariableGroupSymbol::GetSymbolCategoryStr , cmajor::symbols::GlobalVariableSymbol::GetSymbolCategoryStr , cmajor::symbols::InterfaceTypeSymbol::GetSymbolCategoryStr , cmajor::symbols::LocalVariableSymbol::GetSymbolCategoryStr , cmajor::symbols::MemberVariableSymbol::GetSymbolCategoryStr , cmajor::symbols::NamespaceSymbol::GetSymbolCategoryStr , cmajor::symbols::ParameterSymbol::GetSymbolCategoryStr , cmajor::symbols::TemplateParameterSymbol::GetSymbolCategoryStr , cmajor::symbols::TypedefSymbol::GetSymbolCategoryStr

Called by: cmajor::symbols::Symbol::ToCCElement


GetSymbolFlags Member Function

SymbolFlags cmajor::symbols::Symbol::GetSymbolFlags() const

Definition at line 181 of Symbol.hpp :
181 { return flags; }


GetSymbolHelp Member Function

std::string cmajor::symbols::Symbol::GetSymbolHelp() const virtual

Definition at line 1072 of Symbol.cpp :
1073 {
1074     std::string help = "(";
1075     help.append(GetSymbolCategoryDescription()).append(") ");
1076     help.append(ToUtf8(FullName()));
1077     return help;
1078 }


Declaration at line 242 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassDelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::ClassGroupTypeSymbol::GetSymbolHelp , cmajor::symbols::ConceptGroupSymbol::GetSymbolHelp , cmajor::symbols::ConstantSymbol::GetSymbolHelp , cmajor::symbols::DelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::FunctionGroupSymbol::GetSymbolHelp , cmajor::symbols::FunctionSymbol::GetSymbolHelp , cmajor::symbols::GlobalVariableGroupSymbol::GetSymbolHelp , cmajor::symbols::LocalVariableSymbol::GetSymbolHelp , cmajor::symbols::ParameterSymbol::GetSymbolHelp , cmajor::symbols::TypedefSymbol::GetSymbolHelp , cmajor::symbols::VariableSymbol::GetSymbolHelp

Calls: cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::GetSymbolCategoryDescription

Called by: cmajor::symbols::ClassGroupTypeSymbol::GetSymbolHelp , cmajor::symbols::ConceptGroupSymbol::GetSymbolHelp , cmajor::symbols::Symbol::ToCCElement , cmajor::symbols::TypedefSymbol::GetSymbolHelp


GetSymbolType Member Function

SymbolType cmajor::symbols::Symbol::GetSymbolType() const

Definition at line 176 of Symbol.hpp :
176 { return symbolType; }

Called by: cmajor::symbols::ArrayBeginFunction::EmplaceType , cmajor::symbols::ArrayCBeginFunction::EmplaceType , cmajor::symbols::ArrayCEndFunction::EmplaceType , cmajor::symbols::ArrayEndFunction::EmplaceType , cmajor::symbols::ArrayLengthFunction::EmplaceType , cmajor::symbols::ArrayTypeCopyAssignment::GenerateCall , cmajor::symbols::ArrayTypeCopyConstructor::GenerateCall , cmajor::symbols::ArrayTypeElementAccess::GenerateCall , cmajor::symbols::ClassDelegateTypeDefaultConstructor::EmplaceType , cmajor::symbols::ClassDelegateTypeSymbol::AddMember , cmajor::symbols::ClassDelegateTypeSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::ClassTemplateSpecializationSymbol::EmplaceType , cmajor::symbols::ClassTypeSymbol::AddMember , cmajor::symbols::ClassTypeSymbol::CreateDIForwardDeclaration , cmajor::symbols::ClassTypeSymbol::CreateDIType , cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::ClassTypeSymbol::EmplaceType , cmajor::symbols::ClassTypeSymbol::IrType , cmajor::symbols::ClassTypeSymbol::VmtObject , cmajor::symbols::ConceptSymbol::AddMember , cmajor::symbols::ConceptSymbol::EmplaceType , cmajor::symbols::ContainerScope::BaseScope , cmajor::symbols::ContainerScope::CollectViableFunctions , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::Install , cmajor::symbols::ContainerScope::LookupQualifiedBeginWith , cmajor::symbols::ContainerScope::ParentScope , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::ContainerSymbol::AddOwnedMember , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::ContainerSymbol::HasProjectMembers , cmajor::symbols::ContainerSymbol::MakeClassGroupTypeSymbol , cmajor::symbols::ContainerSymbol::MakeConceptGroupSymbol , cmajor::symbols::ContainerSymbol::MakeFunctionGroupSymbol , cmajor::symbols::ContainerSymbol::MakeGlobalVariableGroupSymbol , cmajor::symbols::DeclarationBlock::AddMember , cmajor::symbols::DelegateTypeDefaultConstructor::EmplaceType , cmajor::symbols::DelegateTypeSymbol::AddMember , cmajor::symbols::DelegateTypeSymbol::GenerateCall , cmajor::symbols::DelegateTypeSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::DerivedTypeSymbol::GetValueType , cmajor::symbols::DerivedTypeSymbol::MakeValue , cmajor::symbols::DestructorSymbol::IsExportSymbol , cmajor::symbols::FileScope::InstallNamespaceImport , cmajor::symbols::FunctionSymbol::AddMember , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::GenerateCall , cmajor::symbols::FunctionSymbol::GenerateVirtualCall , cmajor::symbols::FunctionSymbol::Id , cmajor::symbols::FunctionSymbol::IrType , cmajor::symbols::FunctionSymbol::IsExportSymbol , cmajor::symbols::FunctionSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::FunctionSymbolHash::operator() , cmajor::symbols::FunctionSymbolsEqual::operator() , cmajor::symbols::InterfaceTypeCopyAssignment::GenerateCall , cmajor::symbols::InterfaceTypeCopyConstructor::GenerateCall , cmajor::symbols::InterfaceTypeDefaultConstructor::GenerateCall , cmajor::symbols::InterfaceTypeMoveAssignment::GenerateCall , cmajor::symbols::InterfaceTypeMoveConstructor::GenerateCall , cmajor::symbols::InterfaceTypeSymbol::AddMember , cmajor::symbols::InterfaceTypeSymbol::GenerateCall , cmajor::symbols::IsBoolTypePredicate::DoEvaluate , cmajor::symbols::IsByteTypePredicate::DoEvaluate , cmajor::symbols::IsCharTypePredicate::DoEvaluate , cmajor::symbols::IsDoubleTypePredicate::DoEvaluate , cmajor::symbols::IsFloatTypePredicate::DoEvaluate , cmajor::symbols::IsIntTypePredicate::DoEvaluate , cmajor::symbols::IsInterfaceTypePredicate::DoEvaluate , cmajor::symbols::IsLongTypePredicate::DoEvaluate , cmajor::symbols::IsSByteTypePredicate::DoEvaluate , cmajor::symbols::IsShortTypePredicate::DoEvaluate , cmajor::symbols::IsUCharTypePredicate::DoEvaluate , cmajor::symbols::IsUIntTypePredicate::DoEvaluate , cmajor::symbols::IsULongTypePredicate::DoEvaluate , cmajor::symbols::IsUShortTypePredicate::DoEvaluate , cmajor::symbols::IsVoidTypePredicate::DoEvaluate , cmajor::symbols::IsWCharTypePredicate::DoEvaluate , cmajor::symbols::MemberFunctionSymbol::DocName , cmajor::symbols::Module::GetOverloadList , cmajor::symbols::NamespaceSymbol::Import , cmajor::symbols::SymbolReader::ReadArrayTypeSymbol , cmajor::symbols::SymbolReader::ReadClassTemplateSpecializationSymbol , cmajor::symbols::SymbolReader::ReadDerivedTypeSymbol , cmajor::symbols::SymbolReader::ReadParameterSymbol , cmajor::symbols::SymbolTable::AddTypeOrConceptSymbolToTypeIdMap , cmajor::symbols::SymbolTable::BeginNamespace , cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::Import , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests , cmajor::symbols::SymbolWriter::Write , cmajor::symbols::TypeIndex::AddType , cmajor::symbols::TypeMap::GetOrInsertType


GetTypeScope Member Function

ContainerScope * cmajor::symbols::Symbol::GetTypeScope() virtual

Definition at line 240 of Symbol.cpp :
 241 {
 242     return GetContainerScope();
 243 }


Declaration at line 153 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope , cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope , cmajor::symbols::GlobalVariableGroupSymbol::GetTypeScope , cmajor::symbols::GlobalVariableGroupSymbol::GetTypeScope , cmajor::symbols::VariableSymbol::GetTypeScope , cmajor::symbols::VariableSymbol::GetTypeScope

Calls: cmajor::symbols::Symbol::GetContainerScope

Called by: cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope , cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope


GetTypeScope Member Function

const ContainerScope * cmajor::symbols::Symbol::GetTypeScope() const virtual

Definition at line 235 of Symbol.cpp :
 236 {
 237     return GetContainerScope();
 238 }


Declaration at line 152 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope , cmajor::symbols::ClassGroupTypeSymbol::GetTypeScope , cmajor::symbols::GlobalVariableGroupSymbol::GetTypeScope , cmajor::symbols::GlobalVariableGroupSymbol::GetTypeScope , cmajor::symbols::VariableSymbol::GetTypeScope , cmajor::symbols::VariableSymbol::GetTypeScope

Calls: cmajor::symbols::Symbol::GetContainerScope

Called by: cmajor::symbols::ContainerScope::LookupQualifiedBeginWith


HasProjectMembers Member Function

bool cmajor::symbols::Symbol::HasProjectMembers() const virtual

Definition at line 245 of Symbol.hpp :
245 { return false; }

Derived class overrides: cmajor::symbols::ClassGroupTypeSymbol::HasProjectMembers , cmajor::symbols::ConceptGroupSymbol::HasProjectMembers , cmajor::symbols::ContainerSymbol::HasProjectMembers , cmajor::symbols::FunctionGroupSymbol::HasProjectMembers


Id Member Function

std::u32string cmajor::symbols::Symbol::Id() const virtual

Definition at line 161 of Symbol.hpp :
161 { return mangledName; }

Derived class overrides: cmajor::symbols::ClassDelegateTypeSymbol::Id , cmajor::symbols::ClassTemplateSpecializationSymbol::Id , cmajor::symbols::ClassTypeSymbol::Id , cmajor::symbols::DelegateTypeSymbol::Id , cmajor::symbols::EnumTypeSymbol::Id , cmajor::symbols::FunctionSymbol::Id , cmajor::symbols::NamespaceSymbol::Id , cmajor::symbols::TypeSymbol::Id

Called by: cmajor::symbols::FunctionSymbol::Id


Info Member Function

std::u32string cmajor::symbols::Symbol::Info() const virtual

Definition at line 243 of Symbol.hpp :
243 { return std::u32string(); }

Derived class overrides: cmajor::symbols::AxiomSymbol::Info , cmajor::symbols::BasicTypeConversion::Info , cmajor::symbols::BasicTypeCopyAssignment::Info , cmajor::symbols::BasicTypeCopyCtor::Info , cmajor::symbols::BasicTypeMoveAssignment::Info , cmajor::symbols::BasicTypeMoveCtor::Info , cmajor::symbols::BasicTypeReturn::Info , cmajor::symbols::BoundTemplateParameterSymbol::Info , cmajor::symbols::ClassDelegateTypeSymbol::Info , cmajor::symbols::ClassGroupTypeSymbol::Info , cmajor::symbols::ClassTypeSymbol::Info , cmajor::symbols::ConceptGroupSymbol::Info , cmajor::symbols::ConceptSymbol::Info , cmajor::symbols::ConstantSymbol::Info , cmajor::symbols::ConstructorSymbol::Info , cmajor::symbols::ConversionFunctionSymbol::Info , cmajor::symbols::DelegateTypeSymbol::Info , cmajor::symbols::DerivedTypeSymbol::Info , cmajor::symbols::DestructorSymbol::Info , cmajor::symbols::EnumConstantSymbol::Info , cmajor::symbols::EnumTypeSymbol::Info , cmajor::symbols::FunctionGroupSymbol::Info , cmajor::symbols::FunctionSymbol::Info , cmajor::symbols::GlobalVariableGroupSymbol::Info , cmajor::symbols::InterfaceTypeSymbol::Info , cmajor::symbols::NamespaceSymbol::Info , cmajor::symbols::NullPtrType::Info , cmajor::symbols::StaticConstructorSymbol::Info , cmajor::symbols::TemplateParameterSymbol::Info , cmajor::symbols::TypedefSymbol::Info , cmajor::symbols::VariableSymbol::Info

Called by: cmajor::symbols::Symbol::ToDomElement


InterfaceNoThrow Member Function

const InterfaceTypeSymbol * cmajor::symbols::Symbol::InterfaceNoThrow() const

Definition at line 807 of Symbol.cpp
Declaration at line 213 of Symbol.hpp

Calls: cmajor::symbols::Symbol::InterfaceNoThrow


InterfaceNoThrow Member Function

InterfaceTypeSymbol * cmajor::symbols::Symbol::InterfaceNoThrow()

Definition at line 826 of Symbol.cpp
Declaration at line 214 of Symbol.hpp

Calls: cmajor::symbols::Symbol::InterfaceNoThrow

Called by: cmajor::symbols::Symbol::ContainingInterfaceNoThrow , cmajor::symbols::Symbol::ContainingInterfaceNoThrow , cmajor::symbols::Symbol::InterfaceNoThrow , cmajor::symbols::Symbol::InterfaceNoThrow


IrObject Member Function

void * cmajor::symbols::Symbol::IrObject(Emitter& emitter)

Definition at line 281 of Symbol.cpp :
 282 {
 283     return emitter.GetIrObject(this);
 284 }



IsBound Member Function

bool cmajor::symbols::Symbol::IsBound() const

Definition at line 191 of Symbol.hpp :
191 { return GetFlag(SymbolFlags::bound); }

Calls: cmajor::symbols::Symbol::GetFlag

Called by: cmajor::symbols::ClassTypeSymbol::CompletelyBound , cmajor::symbols::ClassTypeSymbol::IrType , cmajor::symbols::TypeSymbol::CompletelyBound


IsClassTypeSymbol Member Function

bool cmajor::symbols::Symbol::IsClassTypeSymbol() const virtual

Definition at line 145 of Symbol.hpp :
145 { return false; }

Derived class overrides: cmajor::symbols::ClassTypeSymbol::IsClassTypeSymbol

Called by: cmajor::symbols::ClassDelegateTypeSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::ConstantSymbol::StructureIrObject , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::DelegateTypeSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::FunctionSymbol::GenerateVirtualCall , cmajor::symbols::FunctionSymbol::IrType , cmajor::symbols::FunctionSymbol::IsCopyAssignment , cmajor::symbols::FunctionSymbol::IsCopyConstructor , cmajor::symbols::FunctionSymbol::IsDefaultConstructor , cmajor::symbols::FunctionSymbol::IsMoveAssignment , cmajor::symbols::FunctionSymbol::IsMoveConstructor , cmajor::symbols::FunctionSymbol::ReturnsClassInterfaceOrClassDelegateByValue , cmajor::symbols::IsClassTypePredicate::DoEvaluate , cmajor::symbols::MemberVariableSymbol::GetDIMemberType , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassInterfaceOrNsNoThrow , cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::ClassNoThrow , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::Symbol::ClassOrNsNoThrow , cmajor::symbols::TypeSymbol::GetDIType


IsContainerSymbol Member Function

bool cmajor::symbols::Symbol::IsContainerSymbol() const virtual

Definition at line 142 of Symbol.hpp :
142 { return false; }

Derived class overrides: cmajor::symbols::ContainerSymbol::IsContainerSymbol


IsExportSymbol Member Function

bool cmajor::symbols::Symbol::IsExportSymbol() const virtual

Definition at line 141 of Symbol.hpp :
141 { return IsProject(); }

Derived class overrides: cmajor::symbols::AxiomSymbol::IsExportSymbol , cmajor::symbols::ClassGroupTypeSymbol::IsExportSymbol , cmajor::symbols::ConceptGroupSymbol::IsExportSymbol , cmajor::symbols::DestructorSymbol::IsExportSymbol , cmajor::symbols::FunctionGroupSymbol::IsExportSymbol , cmajor::symbols::FunctionGroupTypeSymbol::IsExportSymbol , cmajor::symbols::FunctionSymbol::IsExportSymbol , cmajor::symbols::GlobalVariableGroupSymbol::IsExportSymbol , cmajor::symbols::GlobalVariableSymbol::IsExportSymbol , cmajor::symbols::LocalVariableSymbol::IsExportSymbol , cmajor::symbols::MemberExpressionTypeSymbol::IsExportSymbol , cmajor::symbols::MemberVariableSymbol::IsExportSymbol , cmajor::symbols::ParameterSymbol::IsExportSymbol , cmajor::symbols::TypedefSymbol::IsExportSymbol

Calls: cmajor::symbols::Symbol::IsProject

Called by: cmajor::symbols::ContainerSymbol::Write , cmajor::symbols::FunctionSymbol::IsExportSymbol , cmajor::symbols::GlobalVariableSymbol::IsExportSymbol , cmajor::symbols::MemberVariableSymbol::IsExportSymbol , cmajor::symbols::ParameterSymbol::IsExportSymbol , cmajor::symbols::TypedefSymbol::IsExportSymbol


IsExternal Member Function

bool cmajor::symbols::Symbol::IsExternal() const

Definition at line 185 of Symbol.hpp :
185 { return GetFlag(SymbolFlags::external); }

Calls: cmajor::symbols::Symbol::GetFlag


IsFunctionSymbol Member Function

bool cmajor::symbols::Symbol::IsFunctionSymbol() const virtual

Definition at line 143 of Symbol.hpp :
143 { return false; }

Derived class overrides: cmajor::symbols::FunctionSymbol::IsFunctionSymbol

Called by: cmajor::symbols::ClassDelegateTypeSymbol::AddMember , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::ContainerSymbol::AddOwnedMember , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::ContainerSymbol::HasProjectMembers , cmajor::symbols::Symbol::FunctionNoThrow , cmajor::symbols::Symbol::FunctionNoThrow


IsGlobalVariableSymbol Member Function

bool cmajor::symbols::Symbol::IsGlobalVariableSymbol() const virtual

Definition at line 148 of Symbol.hpp :
148 { return false; }

Derived class overrides: cmajor::symbols::GlobalVariableSymbol::IsGlobalVariableSymbol

Called by: cmajor::symbols::Symbol::SetAccess


IsInstalled Member Function

bool cmajor::symbols::Symbol::IsInstalled() const

Definition at line 255 of Symbol.hpp :
255 { return GetFlag(SymbolFlags::installed); }

Calls: cmajor::symbols::Symbol::GetFlag

Called by: cmajor::symbols::ContainerSymbol::RemoveMember


IsNothrow Member Function

bool cmajor::symbols::Symbol::IsNothrow() const

Definition at line 187 of Symbol.hpp :
187 { return GetFlag(SymbolFlags::nothrow_); }

Calls: cmajor::symbols::Symbol::GetFlag

Called by: cmajor::symbols::ClassDelegateTypeSymbol::SetSpecifiers , cmajor::symbols::ConstructorSymbol::SetSpecifiers , cmajor::symbols::ConversionFunctionSymbol::SetSpecifiers , cmajor::symbols::DelegateTypeSymbol::GenerateCall , cmajor::symbols::DelegateTypeSymbol::SetSpecifiers , cmajor::symbols::FunctionSymbol::DontThrow , cmajor::symbols::FunctionSymbol::SetSpecifiers , cmajor::symbols::InterfaceTypeSymbol::GenerateCall , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers


IsParentSymbol Member Function

bool cmajor::symbols::Symbol::IsParentSymbol() const virtual

Definition at line 146 of Symbol.hpp :
146 { return false; }

Derived class overrides: cmajor::symbols::ClassTypeSymbol::IsParentSymbol , cmajor::symbols::ConceptSymbol::IsParentSymbol , cmajor::symbols::EnumTypeSymbol::IsParentSymbol , cmajor::symbols::NamespaceSymbol::IsParentSymbol


IsProject Member Function

bool cmajor::symbols::Symbol::IsProject() const

Definition at line 189 of Symbol.hpp :
189 { return GetFlag(SymbolFlags::project); }

Calls: cmajor::symbols::Symbol::GetFlag

Called by: cmajor::symbols::BasicTypeSymbol::Accept , cmajor::symbols::ClassDelegateTypeSymbol::Accept , cmajor::symbols::ClassGroupTypeSymbol::AppendChildElements , cmajor::symbols::ClassGroupTypeSymbol::HasProjectMembers , cmajor::symbols::ClassTypeSymbol::Accept , cmajor::symbols::ConceptGroupSymbol::AppendChildElements , cmajor::symbols::ConceptGroupSymbol::HasProjectMembers , cmajor::symbols::ConceptSymbol::Accept , cmajor::symbols::ConstantSymbol::Accept , cmajor::symbols::ContainerSymbol::Accept , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::ContainerSymbol::HasProjectMembers , cmajor::symbols::DelegateTypeSymbol::Accept , cmajor::symbols::EnumConstantSymbol::Accept , cmajor::symbols::EnumTypeSymbol::Accept , cmajor::symbols::FunctionGroupSymbol::AppendChildElements , cmajor::symbols::FunctionGroupSymbol::HasProjectMembers , cmajor::symbols::FunctionSymbol::Accept , cmajor::symbols::GlobalVariableSymbol::Accept , cmajor::symbols::InterfaceTypeSymbol::Accept , cmajor::symbols::MemberVariableSymbol::Accept , cmajor::symbols::Symbol::IsExportSymbol , cmajor::symbols::TypedefSymbol::Accept


IsSameParentOrAncestorOf Member Function

bool cmajor::symbols::Symbol::IsSameParentOrAncestorOf(const Symbol * that) const

Definition at line 399 of Symbol.cpp
Declaration at line 175 of Symbol.hpp

Calls: cmajor::symbols::Symbol::IsSameParentOrAncestorOf , cmajor::symbols::Symbol::IsTypeSymbol

Called by: cmajor::symbols::Symbol::IsSameParentOrAncestorOf


IsStatic Member Function

bool cmajor::symbols::Symbol::IsStatic() const

Definition at line 183 of Symbol.hpp :
183 { return GetFlag(SymbolFlags::static_); }

Calls: cmajor::symbols::Symbol::GetFlag

Called by: cmajor::symbols::ClassTypeSymbol::AddMember , cmajor::symbols::MemberFunctionSymbol::DocName , cmajor::symbols::MemberFunctionSymbol::GetThisParam , cmajor::symbols::MemberFunctionSymbol::IsConstructorDestructorOrNonstaticMemberFunction , cmajor::symbols::MemberFunctionSymbol::StartParamIndex


IsTypeSymbol Member Function

bool cmajor::symbols::Symbol::IsTypeSymbol() const virtual

Definition at line 144 of Symbol.hpp :
144 { return false; }

Derived class overrides: cmajor::symbols::TypeSymbol::IsTypeSymbol

Called by: cmajor::symbols::Symbol::IsSameParentOrAncestorOf , cmajor::symbols::SymbolTable::AddTypeOrConceptSymbolToTypeIdMap , cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::Import , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests


IsVariableSymbol Member Function

bool cmajor::symbols::Symbol::IsVariableSymbol() const virtual

Definition at line 147 of Symbol.hpp :
147 { return false; }

Derived class overrides: cmajor::symbols::VariableSymbol::IsVariableSymbol


MangledName Member Function

const std::u32string& cmajor::symbols::Symbol::MangledName() const

Definition at line 234 of Symbol.hpp :
234 { return mangledName; }

Called by: cmajor::symbols::ClassDelegateTypeSymbol::Id , cmajor::symbols::ClassTemplateSpecializationSymbol::Id , cmajor::symbols::ClassTypeSymbol::CreateDIForwardDeclaration , cmajor::symbols::ClassTypeSymbol::CreateDIType , cmajor::symbols::ClassTypeSymbol::CreateImt , cmajor::symbols::ClassTypeSymbol::Id , cmajor::symbols::ClassTypeSymbol::VmtObject , cmajor::symbols::ConceptSymbol::Dump , cmajor::symbols::ConstantSymbol::ArrayIrObject , cmajor::symbols::ConstantSymbol::Dump , cmajor::symbols::ConstantSymbol::StructureIrObject , cmajor::symbols::DelegateTypeSymbol::Id , cmajor::symbols::EnumTypeSymbol::CreateDIType , cmajor::symbols::EnumTypeSymbol::Id , cmajor::symbols::FunctionIndex::Write , cmajor::symbols::FunctionSymbol::Dump , cmajor::symbols::FunctionSymbol::GenerateCall , cmajor::symbols::FunctionToDelegateConversion::GenerateCall , cmajor::symbols::GlobalVariableSymbol::Dump , cmajor::symbols::GlobalVariableSymbol::IrObject , cmajor::symbols::MemberFunctionToClassDelegateConversion::GenerateCall , cmajor::symbols::MemberVariableSymbol::Dump , cmajor::symbols::TypedefSymbol::Dump


Name Member Function

const std::u32string& cmajor::symbols::Symbol::Name() const

Definition at line 179 of Symbol.hpp :
179 { return name; }

Called by: cmajor::symbols::AxiomSymbol::Info , cmajor::symbols::BasicTypeSymbol::Dump , cmajor::symbols::BoundTemplateParameterSymbol::FullName , cmajor::symbols::BoundTemplateParameterSymbol::Info , cmajor::symbols::ClassDelegateTypeSymbol::Dump , cmajor::symbols::ClassDelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::ClassDelegateTypeSymbol::Info , cmajor::symbols::ClassGroupTypeSymbol::AddClass , cmajor::symbols::ClassGroupTypeSymbol::Info , cmajor::symbols::ClassGroupTypeSymbol::IsValidCCClassGroup , cmajor::symbols::ClassTypeSymbol::ComputeName , cmajor::symbols::ClassTypeSymbol::CreateDIForwardDeclaration , cmajor::symbols::ClassTypeSymbol::CreateDIType , cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::ClassTypeSymbol::IrType , cmajor::symbols::ConceptGroupSymbol::AddConcept , cmajor::symbols::ConceptGroupSymbol::Info , cmajor::symbols::ConceptSymbol::ComputeName , cmajor::symbols::ConceptSymbol::Dump , cmajor::symbols::ConstantSymbol::Dump , cmajor::symbols::ConstantSymbol::Info , cmajor::symbols::ConstructorSymbol::Copy , cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::Install , cmajor::symbols::ContainerScope::Uninstall , cmajor::symbols::ConversionFunctionSymbol::Copy , cmajor::symbols::ConversionFunctionSymbol::DocName , cmajor::symbols::DelegateTypeSymbol::Dump , cmajor::symbols::DelegateTypeSymbol::GetSymbolHelp , cmajor::symbols::DelegateTypeSymbol::Info , cmajor::symbols::DerivedTypeSymbol::Info , cmajor::symbols::DestructorSymbol::Copy , cmajor::symbols::EnumConstantSymbol::Dump , cmajor::symbols::EnumConstantSymbol::Info , cmajor::symbols::EnumTypeSymbol::CreateDIType , cmajor::symbols::EnumTypeSymbol::Dump , cmajor::symbols::EnumTypeSymbol::Info , cmajor::symbols::FunctionGroupSymbol::AddFunction , cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::FunctionGroupSymbol::Info , cmajor::symbols::FunctionGroupSymbol::IsValidCCFunctionGroup , cmajor::symbols::FunctionSymbol::ComputeName , cmajor::symbols::FunctionSymbol::Copy , cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::FunctionSymbol::Dump , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::GlobalVariableGroupSymbol::AddGlobalVariable , cmajor::symbols::GlobalVariableGroupSymbol::Info , cmajor::symbols::GlobalVariableSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableSymbol::Dump , cmajor::symbols::InterfaceTypeSymbol::Info , cmajor::symbols::LocalVariableSymbol::GetSymbolHelp , cmajor::symbols::MemberFunctionSymbol::Copy , cmajor::symbols::MemberFunctionSymbol::DocName , cmajor::symbols::MemberVariableSymbol::Dump , cmajor::symbols::MemberVariableSymbol::GetDIMemberType , cmajor::symbols::NamespaceSymbol::Import , cmajor::symbols::NamespaceSymbol::Info , cmajor::symbols::NamespaceSymbol::IsGlobalNamespace , cmajor::symbols::NullPtrType::Info , cmajor::symbols::ParameterSymbol::Clone , cmajor::symbols::ParameterSymbol::GetSymbolHelp , cmajor::symbols::StaticConstructorSymbol::Copy , cmajor::symbols::Symbol::CodeName , cmajor::symbols::Symbol::DocName , cmajor::symbols::Symbol::FullName , cmajor::symbols::Symbol::SimpleName , cmajor::symbols::Symbol::ToCCElement , cmajor::symbols::SymbolTable::AddLocalVariable , cmajor::symbols::SymbolTable::BeginNamespace , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests , cmajor::symbols::SymbolWriter::Write , cmajor::symbols::TemplateParameterSymbol::FullName , cmajor::symbols::TemplateParameterSymbol::Info , cmajor::symbols::TypeIndex::AddType , cmajor::symbols::TypeSymbol::CreateDIType , cmajor::symbols::TypedefSymbol::Dump , cmajor::symbols::TypedefSymbol::Info , cmajor::symbols::VariableSymbol::Info


Ns Member Function

const NamespaceSymbol * cmajor::symbols::Symbol::Ns() const

Definition at line 423 of Symbol.cpp
Declaration at line 199 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::SourceModuleId , cmajor::symbols::SymbolTable::GetMappedNs


Ns Member Function

NamespaceSymbol * cmajor::symbols::Symbol::Ns()

Definition at line 451 of Symbol.cpp
Declaration at line 200 of Symbol.hpp

Calls: cmajor::symbols::Module::GetSymbolTable , cmajor::symbols::Module::IsRootModule , cmajor::symbols::Symbol::GetModule , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::SourceModuleId , cmajor::symbols::SymbolTable::GetMappedNs

Called by: cmajor::symbols::ClassTypeSymbol::Accept , cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::ContainerScope::Ns , cmajor::symbols::ContainerScope::Ns , cmajor::symbols::ConversionFunctionSymbol::DocName , cmajor::symbols::FunctionSymbol::DocName , cmajor::symbols::MemberFunctionSymbol::DocName , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::Ns


Parent Member Function

const Symbol * cmajor::symbols::Symbol::Parent() const

Definition at line 196 of Symbol.hpp :
196 { return parent; }


Parent Member Function

Symbol * cmajor::symbols::Symbol::Parent()

Definition at line 197 of Symbol.hpp :
197 { return parent; }

Called by: cmajor::symbols::ConstructorSymbol::CodeName , cmajor::symbols::ConstructorSymbol::DocName , cmajor::symbols::ContainerScope::ParentScope , cmajor::symbols::ContainerSymbol::CopyFrom , cmajor::symbols::DestructorSymbol::CodeName , cmajor::symbols::DestructorSymbol::IsExportSymbol , cmajor::symbols::EnumConstantSymbol::GetType , cmajor::symbols::EnumConstantSymbol::GetType , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::FunctionSymbol::Id , cmajor::symbols::FunctionSymbol::IrType , cmajor::symbols::FunctionSymbol::IsExportSymbol , cmajor::symbols::FunctionSymbolHash::operator() , cmajor::symbols::FunctionSymbolsEqual::operator() , cmajor::symbols::MemberVariableSymbol::GetDIMemberType , cmajor::symbols::StaticConstructorSymbol::CodeName


Read Member Function

void cmajor::symbols::Symbol::Read(SymbolReader & reader) virtual

Definition at line 210 of Symbol.cpp
Declaration at line 137 of Symbol.hpp

Derived class overrides: cmajor::symbols::ArrayBeginFunction::Read , cmajor::symbols::ArrayCBeginFunction::Read , cmajor::symbols::ArrayCEndFunction::Read , cmajor::symbols::ArrayEndFunction::Read , cmajor::symbols::ArrayLengthFunction::Read , cmajor::symbols::ArrayTypeSymbol::Read , cmajor::symbols::BasicTypeConversion::Read , cmajor::symbols::BasicTypeSymbol::Read , cmajor::symbols::BoundTemplateParameterSymbol::Read , cmajor::symbols::ClassDelegateTypeDefaultConstructor::Read , cmajor::symbols::ClassDelegateTypeSymbol::Read , cmajor::symbols::ClassTemplateSpecializationSymbol::Read , cmajor::symbols::ClassTypeSymbol::Read , cmajor::symbols::ConceptSymbol::Read , cmajor::symbols::ConstantSymbol::Read , cmajor::symbols::ContainerSymbol::Read , cmajor::symbols::DelegateTypeDefaultConstructor::Read , cmajor::symbols::DelegateTypeSymbol::Read , cmajor::symbols::DerivedTypeSymbol::Read , cmajor::symbols::DestructorSymbol::Read , cmajor::symbols::EnumConstantSymbol::Read , cmajor::symbols::EnumTypeCopyAssignment::Read , cmajor::symbols::EnumTypeCopyConstructor::Read , cmajor::symbols::EnumTypeDefaultConstructor::Read , cmajor::symbols::EnumTypeEqualityOp::Read , cmajor::symbols::EnumTypeMoveAssignment::Read , cmajor::symbols::EnumTypeMoveConstructor::Read , cmajor::symbols::EnumTypeReturn::Read , cmajor::symbols::EnumTypeSymbol::Read , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::Read , cmajor::symbols::FunctionSymbol::Read , cmajor::symbols::GlobalVariableSymbol::Read , cmajor::symbols::MemberVariableSymbol::Read , cmajor::symbols::ParameterSymbol::Read , cmajor::symbols::StringFunctionContainerSymbol::Read , cmajor::symbols::StringLengthFunction::Read , cmajor::symbols::TemplateParameterSymbol::Read , cmajor::symbols::TypeSymbol::Read , cmajor::symbols::TypedefSymbol::Read , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::Read , cmajor::symbols::VariableSymbol::Read

Calls: cmajor::symbols::SymbolReader::GetAstReader , cmajor::symbols::SymbolReader::GetBinaryReader , cmajor::symbols::SymbolReader::SetProjectBit , sngcm::ast::AstReader::ReadAttributesNode

Called by: cmajor::symbols::BoundTemplateParameterSymbol::Read , cmajor::symbols::ConstantSymbol::Read , cmajor::symbols::ContainerSymbol::Read , cmajor::symbols::EnumConstantSymbol::Read , cmajor::symbols::SymbolReader::ReadSymbol , cmajor::symbols::TypedefSymbol::Read , cmajor::symbols::VariableSymbol::Read


RemoveFromParent Member Function

std::unique_ptr<Symbol > cmajor::symbols::Symbol::RemoveFromParent() virtual

Definition at line 1096 of Symbol.cpp :
1097 {
1098     std::unique_ptr<Symbol> symbol = parent->RemoveMember(symbolIndex);
1099     return symbol;
1100 }


Declaration at line 252 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassTypeSymbol::RemoveFromParent , cmajor::symbols::ConceptSymbol::RemoveFromParent , cmajor::symbols::FunctionSymbol::RemoveFromParent , cmajor::symbols::GlobalVariableSymbol::RemoveFromParent

Calls: cmajor::symbols::Symbol::RemoveMember

Called by: cmajor::symbols::ClassTypeSymbol::RemoveFromParent , cmajor::symbols::ConceptSymbol::RemoveFromParent , cmajor::symbols::FunctionSymbol::RemoveFromParent , cmajor::symbols::GlobalVariableSymbol::RemoveFromParent


RemoveMember Member Function

std::unique_ptr<Symbol > cmajor::symbols::Symbol::RemoveMember(int symbolIndex) virtual

Definition at line 1091 of Symbol.cpp :
1092 {
1093     return std::unique_ptr<Symbol>();
1094 }


Declaration at line 251 of Symbol.hpp

Derived class overrides: cmajor::symbols::ContainerSymbol::RemoveMember

Called by: cmajor::symbols::Symbol::RemoveFromParent


ResetFlag Member Function

void cmajor::symbols::Symbol::ResetFlag(SymbolFlags flag)

Definition at line 195 of Symbol.hpp :
195 { flags = flags & ~flag; }

Called by: cmajor::symbols::Symbol::ResetInstalled


ResetInstalled Member Function

void cmajor::symbols::Symbol::ResetInstalled()

Definition at line 254 of Symbol.hpp :
254 { ResetFlag(SymbolFlags::installed); }

Calls: cmajor::symbols::Symbol::ResetFlag

Called by: cmajor::symbols::ContainerScope::Uninstall


SetAccess Member Function

void cmajor::symbols::Symbol::SetAccess(Specifiers accessSpecifiers)

Definition at line 340 of Symbol.cpp

Calls: cmajor::symbols::Symbol::ContainingClassNoThrow , cmajor::symbols::Symbol::ContainingInterfaceNoThrow , cmajor::symbols::Symbol::GetSpan , cmajor::symbols::Symbol::IsGlobalVariableSymbol , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::Symbol::SourceModuleId

Called by: cmajor::symbols::ClassDelegateTypeSymbol::SetSpecifiers , cmajor::symbols::ClassTypeSymbol::SetSpecifiers , cmajor::symbols::ConceptSymbol::SetSpecifiers , cmajor::symbols::ConstantSymbol::SetSpecifiers , cmajor::symbols::ConstructorSymbol::SetSpecifiers , cmajor::symbols::ConversionFunctionSymbol::SetSpecifiers , cmajor::symbols::DelegateTypeSymbol::SetSpecifiers , cmajor::symbols::DestructorSymbol::SetSpecifiers , cmajor::symbols::EnumTypeSymbol::SetSpecifiers , cmajor::symbols::FunctionSymbol::SetSpecifiers , cmajor::symbols::GlobalVariableSymbol::SetSpecifiers , cmajor::symbols::InterfaceTypeSymbol::SetSpecifiers , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::MemberVariableSymbol::SetSpecifiers , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers , cmajor::symbols::TypedefSymbol::SetSpecifiers


SetAccess Member Function

void cmajor::symbols::Symbol::SetAccess(SymbolAccess access_)

Definition at line 173 of Symbol.hpp :
173 { flags = flags | SymbolFlags(access_); }

Called by: cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::SymbolTable::MakeDerivedType


SetAttributes Member Function

void cmajor::symbols::Symbol::SetAttributes(std::unique_ptr<AttributesNode>&& attributes_)

Definition at line 1035 of Symbol.cpp :
1036 {
1037     attributes = std::move(attributes_);
1038 }



SetBound Member Function

void cmajor::symbols::Symbol::SetBound()

Definition at line 192 of Symbol.hpp :
192 { SetFlag(SymbolFlags::bound); }

Calls: cmajor::symbols::Symbol::SetFlag

Called by: cmajor::symbols::SymbolTable::BeginConstructor , cmajor::symbols::SymbolTable::BeginConversionFunction , cmajor::symbols::SymbolTable::BeginDestructor , cmajor::symbols::SymbolTable::BeginMemberFunction , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::SymbolTable::MakeDerivedType


SetCompileUnit Member Function

void cmajor::symbols::Symbol::SetCompileUnit(CompileUnitNode * compileUnit_)

Definition at line 233 of Symbol.hpp :
233 { compileUnit = compileUnit_; }

Called by: cmajor::symbols::SymbolTable::AddConstant , cmajor::symbols::SymbolTable::AddEnumConstant , cmajor::symbols::SymbolTable::AddGlobalVariable , cmajor::symbols::SymbolTable::AddLocalVariable , cmajor::symbols::SymbolTable::AddLocalVariable , cmajor::symbols::SymbolTable::AddMemberVariable , cmajor::symbols::SymbolTable::AddParameter , cmajor::symbols::SymbolTable::AddTemplateParameter , cmajor::symbols::SymbolTable::AddTemplateParameter , cmajor::symbols::SymbolTable::AddTypedef , cmajor::symbols::SymbolTable::BeginClass , cmajor::symbols::SymbolTable::BeginClassDelegate , cmajor::symbols::SymbolTable::BeginConcept , cmajor::symbols::SymbolTable::BeginConstructor , cmajor::symbols::SymbolTable::BeginConversionFunction , cmajor::symbols::SymbolTable::BeginDeclarationBlock , cmajor::symbols::SymbolTable::BeginDelegate , cmajor::symbols::SymbolTable::BeginDestructor , cmajor::symbols::SymbolTable::BeginEnumType , cmajor::symbols::SymbolTable::BeginFunction , cmajor::symbols::SymbolTable::BeginInterface , cmajor::symbols::SymbolTable::BeginMemberFunction , cmajor::symbols::SymbolTable::BeginStaticConstructor


SetExternal Member Function

void cmajor::symbols::Symbol::SetExternal()

Definition at line 186 of Symbol.hpp :
186 { SetFlag(SymbolFlags::external); }

Calls: cmajor::symbols::Symbol::SetFlag

Called by: cmajor::symbols::FunctionSymbol::SetSpecifiers


SetFlag Member Function

void cmajor::symbols::Symbol::SetFlag(SymbolFlags flag)

Definition at line 194 of Symbol.hpp :
194 { flags = flags | flag; }

Called by: cmajor::symbols::Symbol::SetBound , cmajor::symbols::Symbol::SetExternal , cmajor::symbols::Symbol::SetInstalled , cmajor::symbols::Symbol::SetNothrow , cmajor::symbols::Symbol::SetProject , cmajor::symbols::Symbol::SetStatic


SetInstalled Member Function

void cmajor::symbols::Symbol::SetInstalled()

Definition at line 253 of Symbol.hpp :
253 { SetFlag(SymbolFlags::installed); }

Calls: cmajor::symbols::Symbol::SetFlag

Called by: cmajor::symbols::ContainerScope::Install


SetMangledName Member Function

void cmajor::symbols::Symbol::SetMangledName(const std::u32string& mangledName_)

Definition at line 335 of Symbol.cpp :
 336 {
 337     mangledName = mangledName_;
 338 }


Declaration at line 171 of Symbol.hpp

Called by: cmajor::symbols::ClassTypeSymbol::ComputeMangledName , cmajor::symbols::FunctionGroupSymbol::ComputeMangledName , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableGroupSymbol::ComputeMangledName , cmajor::symbols::GlobalVariableSymbol::ComputeMangledName


SetModule Member Function

void cmajor::symbols::Symbol::SetModule(Module * module_)

Definition at line 231 of Symbol.hpp :
231 { module = module_; }

Called by: cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::SymbolReader::ReadSymbol , cmajor::symbols::SymbolTable::AddConstant , cmajor::symbols::SymbolTable::AddEnumConstant , cmajor::symbols::SymbolTable::AddFunctionSymbolToGlobalScope , cmajor::symbols::SymbolTable::AddGlobalVariable , cmajor::symbols::SymbolTable::AddLocalVariable , cmajor::symbols::SymbolTable::AddLocalVariable , cmajor::symbols::SymbolTable::AddTemplateParameter , cmajor::symbols::SymbolTable::AddTemplateParameter , cmajor::symbols::SymbolTable::AddTypeSymbolToGlobalScope , cmajor::symbols::SymbolTable::AddTypedef , cmajor::symbols::SymbolTable::BeginClass , cmajor::symbols::SymbolTable::BeginClassDelegate , cmajor::symbols::SymbolTable::BeginConcept , cmajor::symbols::SymbolTable::BeginConstructor , cmajor::symbols::SymbolTable::BeginConversionFunction , cmajor::symbols::SymbolTable::BeginDeclarationBlock , cmajor::symbols::SymbolTable::BeginDelegate , cmajor::symbols::SymbolTable::BeginDestructor , cmajor::symbols::SymbolTable::BeginEnumType , cmajor::symbols::SymbolTable::BeginFunction , cmajor::symbols::SymbolTable::BeginInterface , cmajor::symbols::SymbolTable::BeginMemberFunction , cmajor::symbols::SymbolTable::BeginStaticConstructor , cmajor::symbols::SymbolTable::CopyClassTemplateSpecialization , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::SymbolTable::MakeClassTemplateSpecialization , cmajor::symbols::SymbolTable::MakeDerivedType


SetName Member Function

void cmajor::symbols::Symbol::SetName(const std::u32string& name_)

Definition at line 180 of Symbol.hpp :
180 { name = name_; }

Called by: cmajor::symbols::ClassTypeSymbol::ComputeName , cmajor::symbols::ConceptSymbol::ComputeName , cmajor::symbols::FunctionSymbol::ComputeName


SetNothrow Member Function

void cmajor::symbols::Symbol::SetNothrow()

Definition at line 188 of Symbol.hpp :
188 { SetFlag(SymbolFlags::nothrow_); }

Calls: cmajor::symbols::Symbol::SetFlag

Called by: cmajor::symbols::ClassDelegateTypeSymbol::SetSpecifiers , cmajor::symbols::ConstructorSymbol::SetSpecifiers , cmajor::symbols::ConversionFunctionSymbol::SetSpecifiers , cmajor::symbols::DelegateTypeSymbol::SetSpecifiers , cmajor::symbols::FunctionSymbol::SetSpecifiers , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers


SetParent Member Function

void cmajor::symbols::Symbol::SetParent(Symbol * parent_)

Definition at line 198 of Symbol.hpp :
198 { parent = parent_; }

Called by: cmajor::symbols::ClassTypeSymbol::Accept , cmajor::symbols::ClassTypeSymbol::CreateLayouts , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::SymbolReader::ReadSymbol , cmajor::symbols::SymbolTable::CopyClassTemplateSpecialization , cmajor::symbols::SymbolTable::MakeArrayType , cmajor::symbols::SymbolTable::MakeClassTemplateSpecialization , cmajor::symbols::SymbolTable::MakeDerivedType


SetProject Member Function

void cmajor::symbols::Symbol::SetProject()

Definition at line 190 of Symbol.hpp :
190 { SetFlag(SymbolFlags::project); }

Calls: cmajor::symbols::Symbol::SetFlag


SetSpan Member Function

void cmajor::symbols::Symbol::SetSpan(const Span & span_)

Definition at line 178 of Symbol.hpp :
178 { span = span_; }

Called by: cmajor::symbols::SymbolTable::BeginNamespace


SetStatic Member Function

void cmajor::symbols::Symbol::SetStatic()

Definition at line 184 of Symbol.hpp :
184 { SetFlag(SymbolFlags::static_); }

Calls: cmajor::symbols::Symbol::SetFlag

Called by: cmajor::symbols::ClassTypeSymbol::CreateLayouts , cmajor::symbols::ClassTypeSymbol::SetSpecifiers , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::MemberVariableSymbol::SetSpecifiers , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers , cmajor::symbols::SymbolTable::AddMemberVariable


SetSymbolIndex Member Function

void cmajor::symbols::Symbol::SetSymbolIndex(int symbolIndex_)

Definition at line 250 of Symbol.hpp :
250 { symbolIndex = symbolIndex_; }

Called by: cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::ContainerSymbol::RemoveMember


SimpleName Member Function

std::u32string cmajor::symbols::Symbol::SimpleName() const virtual

Definition at line 158 of Symbol.hpp :
158 { return Name(); }

Derived class overrides: cmajor::symbols::ClassTemplateSpecializationSymbol::SimpleName , cmajor::symbols::ClassTypeSymbol::SimpleName , cmajor::symbols::ConceptSymbol::SimpleName , cmajor::symbols::DerivedTypeSymbol::SimpleName

Calls: cmajor::symbols::Symbol::Name

Called by: cmajor::symbols::DerivedTypeSymbol::SimpleName , cmajor::symbols::FunctionSymbol::ComputeMangledName , cmajor::symbols::Symbol::ComputeMangledName


SourceModuleId Member Function

const boost::uuids::uuid& cmajor::symbols::Symbol::SourceModuleId() const

Definition at line 248 of Symbol.hpp :
248 { return sourceModuleId; }

Called by: cmajor::symbols::ArrayBeginFunction::Check , cmajor::symbols::ArrayCBeginFunction::Check , cmajor::symbols::ArrayCEndFunction::Check , cmajor::symbols::ArrayEndFunction::Check , cmajor::symbols::ArrayLengthFunction::Check , cmajor::symbols::ArrayTypeCopyAssignment::Check , cmajor::symbols::ArrayTypeCopyAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeCopyConstructor::Check , cmajor::symbols::ArrayTypeCopyConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeDefaultConstructor::Check , cmajor::symbols::ArrayTypeDefaultConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeElementAccess::Check , cmajor::symbols::ArrayTypeMoveAssignment::Check , cmajor::symbols::ArrayTypeMoveAssignment::CreateTemporariesTo , cmajor::symbols::ArrayTypeMoveConstructor::Check , cmajor::symbols::ArrayTypeMoveConstructor::CreateTemporariesTo , cmajor::symbols::ArrayTypeSymbol::Check , cmajor::symbols::ArrayTypeSymbol::CreateDefaultIrValue , cmajor::symbols::ArrayTypeSymbol::EmplaceType , cmajor::symbols::ArrayTypeSymbol::IrType , cmajor::symbols::ArrayTypeSymbol::MakeValue , cmajor::symbols::BasicTypeConversion::Check , cmajor::symbols::BasicTypeSymbol::Check , cmajor::symbols::BoolTypeSymbol::MakeValue , cmajor::symbols::BoundTemplateParameterSymbol::Check , cmajor::symbols::ByteTypeSymbol::MakeValue , cmajor::symbols::CharTypeSymbol::MakeValue , cmajor::symbols::ClassDelegateTypeDefaultConstructor::Check , cmajor::symbols::ClassDelegateTypeSymbol::Check , cmajor::symbols::ClassDelegateTypeSymbol::SetSpecifiers , cmajor::symbols::ClassGroupTypeSymbol::AddClass , cmajor::symbols::ClassGroupTypeSymbol::Check , cmajor::symbols::ClassTemplateSpecializationSymbol::Check , cmajor::symbols::ClassToInterfaceConversion::Check , cmajor::symbols::ClassToInterfaceConversion::CreateTemporariesTo , cmajor::symbols::ClassTypeSymbol::AddImplementedInterface , cmajor::symbols::ClassTypeSymbol::AddMember , cmajor::symbols::ClassTypeSymbol::Check , cmajor::symbols::ClassTypeSymbol::CreateDIForwardDeclaration , cmajor::symbols::ClassTypeSymbol::CreateDIType , cmajor::symbols::ClassTypeSymbol::CreateDestructorSymbol , cmajor::symbols::ClassTypeSymbol::CreateLayouts , cmajor::symbols::ClassTypeSymbol::InitImts , cmajor::symbols::ClassTypeSymbol::InitVmt , cmajor::symbols::ClassTypeSymbol::InitVmt , cmajor::symbols::ClassTypeSymbol::IrType , cmajor::symbols::ClassTypeSymbol::MakeValue , cmajor::symbols::ClassTypeSymbol::SetSpecifiers , cmajor::symbols::ClassTypeSymbol::VmtPtrHolderClass , cmajor::symbols::ConceptGroupSymbol::AddConcept , cmajor::symbols::ConceptGroupSymbol::Check , cmajor::symbols::ConceptGroupSymbol::GetConcept , cmajor::symbols::ConceptSymbol::Check , cmajor::symbols::ConceptSymbol::EmplaceType , cmajor::symbols::ConceptSymbol::SetSpecifiers , cmajor::symbols::ConstantSymbol::ArrayIrObject , cmajor::symbols::ConstantSymbol::Check , cmajor::symbols::ConstantSymbol::GetValue , cmajor::symbols::ConstantSymbol::Read , cmajor::symbols::ConstantSymbol::SetSpecifiers , cmajor::symbols::ConstantSymbol::StructureIrObject , cmajor::symbols::ConstructorSymbol::Copy , cmajor::symbols::ConstructorSymbol::SetSpecifiers , cmajor::symbols::ContainerScope::CreateNamespace , cmajor::symbols::ContainerScope::Install , cmajor::symbols::ContainerSymbol::AddMember , cmajor::symbols::ContainerSymbol::AddOwnedMember , cmajor::symbols::ContainerSymbol::Check , cmajor::symbols::ContainerSymbol::MakeClassGroupTypeSymbol , cmajor::symbols::ContainerSymbol::MakeConceptGroupSymbol , cmajor::symbols::ContainerSymbol::MakeFunctionGroupSymbol , cmajor::symbols::ContainerSymbol::MakeGlobalVariableGroupSymbol , cmajor::symbols::ConversionFunctionSymbol::Copy , cmajor::symbols::ConversionFunctionSymbol::SetSpecifiers , cmajor::symbols::DelegateTypeDefaultConstructor::Check , cmajor::symbols::DelegateTypeSymbol::Check , cmajor::symbols::DelegateTypeSymbol::SetSpecifiers , cmajor::symbols::DerivedTypeSymbol::Check , cmajor::symbols::DestructorSymbol::Copy , cmajor::symbols::DestructorSymbol::SetSpecifiers , cmajor::symbols::DoubleTypeSymbol::MakeValue , cmajor::symbols::EnumConstantSymbol::Read , cmajor::symbols::EnumTypeCopyAssignment::Check , cmajor::symbols::EnumTypeCopyConstructor::Check , cmajor::symbols::EnumTypeDefaultConstructor::Check , cmajor::symbols::EnumTypeEqualityOp::Check , cmajor::symbols::EnumTypeMoveAssignment::Check , cmajor::symbols::EnumTypeMoveConstructor::Check , cmajor::symbols::EnumTypeReturn::Check , cmajor::symbols::EnumTypeSymbol::Check , cmajor::symbols::EnumTypeSymbol::CreateDIType , cmajor::symbols::EnumTypeSymbol::SetSpecifiers , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::Check , cmajor::symbols::FileScope::Lookup , cmajor::symbols::FloatTypeSymbol::MakeValue , cmajor::symbols::FunctionGroupSymbol::Check , cmajor::symbols::FunctionGroupSymbol::CheckDuplicateFunctionSymbols , cmajor::symbols::FunctionSymbol::Check , cmajor::symbols::FunctionSymbol::ComputeName , cmajor::symbols::FunctionSymbol::Copy , cmajor::symbols::FunctionSymbol::EmplaceType , cmajor::symbols::FunctionSymbol::FullName , cmajor::symbols::FunctionSymbol::GenerateVirtualCall , cmajor::symbols::FunctionSymbol::Id , cmajor::symbols::FunctionSymbol::IrType , cmajor::symbols::FunctionSymbol::IsCopyAssignment , cmajor::symbols::FunctionSymbol::IsCopyConstructor , cmajor::symbols::FunctionSymbol::IsDefaultConstructor , cmajor::symbols::FunctionSymbol::IsMoveAssignment , cmajor::symbols::FunctionSymbol::IsMoveConstructor , cmajor::symbols::FunctionSymbol::SetSpecifiers , cmajor::symbols::FunctionToDelegateConversion::Check , cmajor::symbols::GlobalVariableGroupSymbol::AddGlobalVariable , cmajor::symbols::GlobalVariableSymbol::Read , cmajor::symbols::GlobalVariableSymbol::SetSpecifiers , cmajor::symbols::IntTypeSymbol::MakeValue , cmajor::symbols::InterfaceTypeSymbol::Check , cmajor::symbols::InterfaceTypeSymbol::SetSpecifiers , cmajor::symbols::LongTypeSymbol::MakeValue , cmajor::symbols::MemberFunctionSymbol::Copy , cmajor::symbols::MemberFunctionSymbol::SetSpecifiers , cmajor::symbols::MemberFunctionToClassDelegateConversion::Check , cmajor::symbols::MemberFunctionToClassDelegateConversion::CreateTemporariesTo , cmajor::symbols::MemberVariableSymbol::Check , cmajor::symbols::MemberVariableSymbol::GetDIMemberType , cmajor::symbols::MemberVariableSymbol::SetSpecifiers , cmajor::symbols::NamespaceSymbol::Import , cmajor::symbols::ParameterSymbol::Clone , cmajor::symbols::SByteTypeSymbol::MakeValue , cmajor::symbols::ShortTypeSymbol::MakeValue , cmajor::symbols::StaticConstructorSymbol::Copy , cmajor::symbols::StaticConstructorSymbol::SetSpecifiers , cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::Class , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope , cmajor::symbols::Symbol::ClassInterfaceEnumDelegateOrNsScope , cmajor::symbols::Symbol::ClassInterfaceOrNsScope , cmajor::symbols::Symbol::ClassInterfaceOrNsScope , cmajor::symbols::Symbol::ClassOrNsScope , cmajor::symbols::Symbol::ClassOrNsScope , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::Function , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::Ns , cmajor::symbols::Symbol::SetAccess , cmajor::symbols::SymbolTable::AddClassHavingStaticConstructor , cmajor::symbols::SymbolTable::AddPolymorphicClass , cmajor::symbols::SymbolTable::BeginFunction , cmajor::symbols::SymbolTable::BeginNamespace , cmajor::symbols::SymbolTable::Check , cmajor::symbols::SymbolTable::CopyClassTemplateSpecialization , cmajor::symbols::SymbolTable::EmplaceTypeOrConceptRequest , cmajor::symbols::SymbolTable::MakeDerivedType , cmajor::symbols::SymbolTable::ProcessTypeConceptAndFunctionRequests , cmajor::symbols::SymbolWriter::Write , cmajor::symbols::TypeIndex::AddType , cmajor::symbols::TypeSymbol::Check , cmajor::symbols::TypedefSymbol::Check , cmajor::symbols::TypedefSymbol::SetSpecifiers , cmajor::symbols::UCharTypeSymbol::MakeValue , cmajor::symbols::UIntTypeSymbol::MakeValue , cmajor::symbols::ULongTypeSymbol::MakeValue , cmajor::symbols::UShortTypeSymbol::MakeValue , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::Check , cmajor::symbols::VariableSymbol::Check , cmajor::symbols::WCharTypeSymbol::MakeValue


SymbolIndex Member Function

int cmajor::symbols::Symbol::SymbolIndex() const

Definition at line 249 of Symbol.hpp :
249 { return symbolIndex; }


Syntax Member Function

std::string cmajor::symbols::Symbol::Syntax() const virtual

Definition at line 298 of Symbol.cpp
Declaration at line 168 of Symbol.hpp

Derived class overrides: cmajor::symbols::ClassDelegateTypeSymbol::Syntax , cmajor::symbols::ConstantSymbol::Syntax , cmajor::symbols::DelegateTypeSymbol::Syntax , cmajor::symbols::EnumTypeSymbol::Syntax , cmajor::symbols::FunctionSymbol::Syntax , cmajor::symbols::GlobalVariableSymbol::Syntax , cmajor::symbols::MemberVariableSymbol::Syntax , cmajor::symbols::TypedefSymbol::Syntax

Calls: cmajor::symbols::Symbol::DocName , cmajor::symbols::Symbol::GetSpecifierStr , cmajor::symbols::Symbol::TypeString


ToCCElement Member Function

Element * cmajor::symbols::Symbol::ToCCElement(int ccPrefixLength, const std::u32string& replacement, const std::u32string& functionGroup) const virtual

Definition at line 1060 of Symbol.cpp :
1061 {
1062     sngxml::dom::Element* ccElement = new sngxml::dom::Element(U"symbol");
1063     ccElement->SetAttribute(U"prefixLength"ToUtf32(std::to_string(ccPrefixLength)));
1064     ccElement->SetAttribute(U"category"ToUtf32(GetSymbolCategoryStr()));
1065     ccElement->SetAttribute(U"help"ToUtf32(GetSymbolHelp()));
1066     ccElement->SetAttribute(U"completion"Name());
1067     ccElement->SetAttribute(U"replacement"replacement);
1068     ccElement->SetAttribute(U"functionGroup"functionGroup);
1069     return ccElement;
1070 }


Declaration at line 239 of Symbol.hpp

Calls: cmajor::symbols::Symbol::GetSymbolCategoryStr , cmajor::symbols::Symbol::GetSymbolHelp , cmajor::symbols::Symbol::Name , sngxml::dom::Element::SetAttribute

Called by: cmajor::symbols::Source::GetCCList


ToDomElement Member Function

std::unique_ptr<Element > cmajor::symbols::Symbol::ToDomElement(TypeMap & typeMap)

Definition at line 1040 of Symbol.cpp
Declaration at line 237 of Symbol.hpp

Calls: cmajor::symbols::Symbol::AppendChildElements , cmajor::symbols::Symbol::CreateDomElement , cmajor::symbols::Symbol::Info

Called by: cmajor::symbols::ClassGroupTypeSymbol::AppendChildElements , cmajor::symbols::ConceptGroupSymbol::AppendChildElements , cmajor::symbols::ContainerSymbol::AppendChildElements , cmajor::symbols::FunctionGroupSymbol::AppendChildElements , cmajor::symbols::SymbolTable::ToDomDocument , cmajor::symbols::TypeMap::GetOrInsertType


TypeString Member Function

std::string cmajor::symbols::Symbol::TypeString() const virtual

Definition at line 163 of Symbol.hpp :
163 { return "symbol";  }

Derived class overrides: cmajor::symbols::BasicTypeSymbol::TypeString , cmajor::symbols::BoolTypeSymbol::TypeString , cmajor::symbols::ByteTypeSymbol::TypeString , cmajor::symbols::CharTypeSymbol::TypeString , cmajor::symbols::ClassDelegateTypeSymbol::TypeString , cmajor::symbols::ClassGroupTypeSymbol::TypeString , cmajor::symbols::ClassTypeSymbol::TypeString , cmajor::symbols::ConceptGroupSymbol::TypeString , cmajor::symbols::ConceptSymbol::TypeString , cmajor::symbols::ConstantSymbol::TypeString , cmajor::symbols::ConstructorSymbol::TypeString , cmajor::symbols::ContainerSymbol::TypeString , cmajor::symbols::ConversionFunctionSymbol::TypeString , cmajor::symbols::DelegateTypeSymbol::TypeString , cmajor::symbols::DerivedTypeSymbol::TypeString , cmajor::symbols::DestructorSymbol::TypeString , cmajor::symbols::DoubleTypeSymbol::TypeString , cmajor::symbols::EnumConstantSymbol::TypeString , cmajor::symbols::EnumTypeSymbol::TypeString , cmajor::symbols::FloatTypeSymbol::TypeString , cmajor::symbols::FunctionGroupSymbol::TypeString , cmajor::symbols::FunctionSymbol::TypeString , cmajor::symbols::GlobalVariableGroupSymbol::TypeString , cmajor::symbols::GlobalVariableSymbol::TypeString , cmajor::symbols::IntTypeSymbol::TypeString , cmajor::symbols::InterfaceTypeSymbol::TypeString , cmajor::symbols::LongTypeSymbol::TypeString , cmajor::symbols::MemberExpressionTypeSymbol::TypeString , cmajor::symbols::MemberFunctionSymbol::TypeString , cmajor::symbols::MemberVariableSymbol::TypeString , cmajor::symbols::NamespaceSymbol::TypeString , cmajor::symbols::NullPtrType::TypeString , cmajor::symbols::ParameterSymbol::TypeString , cmajor::symbols::SByteTypeSymbol::TypeString , cmajor::symbols::ShortTypeSymbol::TypeString , cmajor::symbols::StaticConstructorSymbol::TypeString , cmajor::symbols::TypeSymbol::TypeString , cmajor::symbols::TypedefSymbol::TypeString , cmajor::symbols::UCharTypeSymbol::TypeString , cmajor::symbols::UIntTypeSymbol::TypeString , cmajor::symbols::ULongTypeSymbol::TypeString , cmajor::symbols::UShortTypeSymbol::TypeString , cmajor::symbols::VoidTypeSymbol::TypeString , cmajor::symbols::WCharTypeSymbol::TypeString

Called by: cmajor::symbols::Symbol::ComputeMangledName , cmajor::symbols::Symbol::Syntax


Write Member Function

void cmajor::symbols::Symbol::Write(SymbolWriter & writer) virtual

Definition at line 197 of Symbol.cpp
Declaration at line 136 of Symbol.hpp

Derived class overrides: cmajor::symbols::ArrayBeginFunction::Write , cmajor::symbols::ArrayCBeginFunction::Write , cmajor::symbols::ArrayCEndFunction::Write , cmajor::symbols::ArrayEndFunction::Write , cmajor::symbols::ArrayLengthFunction::Write , cmajor::symbols::ArrayTypeSymbol::Write , cmajor::symbols::BasicTypeConversion::Write , cmajor::symbols::BasicTypeSymbol::Write , cmajor::symbols::BoundTemplateParameterSymbol::Write , cmajor::symbols::ClassDelegateTypeDefaultConstructor::Write , cmajor::symbols::ClassDelegateTypeSymbol::Write , cmajor::symbols::ClassTemplateSpecializationSymbol::Write , cmajor::symbols::ClassTypeSymbol::Write , cmajor::symbols::ConceptSymbol::Write , cmajor::symbols::ConstantSymbol::Write , cmajor::symbols::ContainerSymbol::Write , cmajor::symbols::DelegateTypeDefaultConstructor::Write , cmajor::symbols::DelegateTypeSymbol::Write , cmajor::symbols::DerivedTypeSymbol::Write , cmajor::symbols::DestructorSymbol::Write , cmajor::symbols::EnumConstantSymbol::Write , cmajor::symbols::EnumTypeCopyAssignment::Write , cmajor::symbols::EnumTypeCopyConstructor::Write , cmajor::symbols::EnumTypeDefaultConstructor::Write , cmajor::symbols::EnumTypeEqualityOp::Write , cmajor::symbols::EnumTypeMoveAssignment::Write , cmajor::symbols::EnumTypeMoveConstructor::Write , cmajor::symbols::EnumTypeReturn::Write , cmajor::symbols::EnumTypeSymbol::Write , cmajor::symbols::EnumTypeToUnderlyingTypeConversion::Write , cmajor::symbols::FunctionSymbol::Write , cmajor::symbols::GlobalVariableSymbol::Write , cmajor::symbols::MemberVariableSymbol::Write , cmajor::symbols::ParameterSymbol::Write , cmajor::symbols::StringFunctionContainerSymbol::Write , cmajor::symbols::StringLengthFunction::Write , cmajor::symbols::TemplateParameterSymbol::Write , cmajor::symbols::TypeSymbol::Write , cmajor::symbols::TypedefSymbol::Write , cmajor::symbols::UnderlyingTypeToEnumTypeConversion::Write , cmajor::symbols::VariableSymbol::Write

Calls: cmajor::symbols::Symbol::Write , cmajor::symbols::SymbolWriter::GetAstWriter , cmajor::symbols::SymbolWriter::GetBinaryWriter

Called by: cmajor::symbols::BoundTemplateParameterSymbol::Write , cmajor::symbols::ConstantSymbol::Write , cmajor::symbols::ContainerSymbol::Write , cmajor::symbols::EnumConstantSymbol::Write , cmajor::symbols::Symbol::Write , cmajor::symbols::SymbolWriter::Write , cmajor::symbols::TypedefSymbol::Write , cmajor::symbols::VariableSymbol::Write


top | up | prev | next