#include <nspcinfo.h>
Inheritance diagram for VM::NamespaceInfo::SymbolEntryE:
Public Types | |
enum | ExtID { ExtUnknown = 0, ExtFunction, ExtVariable } |
Describes the type of symbol. More... | |
Public Member Functions | |
SymbolEntryE (NamespaceInfo *_nspc=NULL) | |
Create "unknown" symbol. | |
~SymbolEntryE () | |
Destructor (a no-op). | |
SymbolEntryE (const SymbolEntryE &se) | |
Copy constructor. | |
SymbolEntryE & | operator= (const SymbolEntryE &se) |
Assignment operator. | |
Static Public Member Functions | |
const char * | ExtID2String (ExtID e) |
Get string representation of ExtID. | |
Public Attributes | |
ExtID | extid |
What sort of external symbol? | |
FuncType | ftype |
For ExtFunction. | |
VarType | vtype |
For ExtVariable. | |
TLString | name |
Symbol name. NULL for internal symbs. | |
NamespaceInfo * | nspc |
SymbolEntryE * | linked |
Definition at line 162 of file nspcinfo.h.
|
Describes the type of symbol.
Definition at line 165 of file nspcinfo.h. |
|
Create "unknown" symbol.
Definition at line 149 of file nspcinfo.cc. References VM::NamespaceInfo::linked, and VM::NamespaceInfo::name. |
|
Destructor (a no-op).
Definition at line 189 of file nspcinfo.h. |
|
Copy constructor.
Definition at line 137 of file nspcinfo.cc. References VM::NamespaceInfo::linked, and VM::NamespaceInfo::name. |
|
Get string representation of ExtID.
Definition at line 36 of file nspcinfo.cc. References ExtFunction, ExtUnknown, and ExtVariable. |
|
Assignment operator.
Definition at line 121 of file nspcinfo.cc. References extid, ftype, linked, name, nspc, VM::NamespaceInfo::SymbolEntryB::symref, and vtype. |
|
What sort of external symbol?
Definition at line 175 of file nspcinfo.h. Referenced by VM::VMLinker::_CreateInitFunction(), VM::VMLinker::_GenerateSymbolProvideMap(), VM::AssemblerFile_Plaintext::_ParseSymbols_Symbols(), VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), VM::NamespaceInfo::SymbolEntryB::CompareTo(), VM::NamespaceInfo::DumpTree(), VM::VMLinker::LinkAll(), and operator=(). |
|
|
Pointer to corresponding merged/linked master namespace info. Used by linker; not used in master tree. Not for internal symbs. Definition at line 184 of file nspcinfo.h. Referenced by VM::VMLinker::_CreateInitFunction(), VM::VMLinker::_LinkerNeedClassConstruct(), VM::VMLinker::_LinkFunction(), VM::VMLinker::_LinkGlobalStorage(), VM::VMLinker::LinkAll(), operator=(), and ~SymbolEntryE(). |
|
Symbol name. NULL for internal symbs.
Definition at line 180 of file nspcinfo.h. Referenced by VM::VMLinker::_CreateInitFunction(), VM::AssemblerFile_Plaintext::_ParseSymbols_Symbols(), VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), VM::NamespaceInfo::SymbolEntryB::CompareTo(), VM::NamespaceInfo::SymbolEntryB::CompleteName(), VM::NamespaceInfo::DumpTree(), VM::VMLinker::LinkAll(), and operator=(). |
|
"Up" pointer to corresponding namespace. Definition at line 181 of file nspcinfo.h. Referenced by VM::VMLinker::_CheckNamespaceInfo_Recursive(), VM::VMLinker::_CreateInitFunction(), VM::VMLinker::_GenerateSymbolProvideMap(), VM::VMLinker::_GenerateSymbolProvideMap_AddGlobal(), VM::VMLinker::_LinkerNeedClassConstruct(), VM::VMLinker::_LinkGlobalStorage(), VM::NamespaceInfo::SymbolEntryB::CompleteName(), VM::NamespaceInfo::DumpTree(), VM::VMLinker::LinkAll(), operator=(), VM::VMLinker::SPM_ORD(), and ~SymbolEntryE(). |
|
For ExtVariable.
Definition at line 179 of file nspcinfo.h. Referenced by VM::AssemblerFile_Plaintext::_ParseSymbols_Symbols(), VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), VM::NamespaceInfo::SymbolEntryB::CompareTo(), VM::NamespaceInfo::DumpTree(), and operator=(). |