- aaGetSymbol
Symbol* aaGetSymbol(TypeAArray taa, const(char)* func, int flags)
Determine the right symbol to look up
an associative array element.
Input:
flags 0 don't add value signature
1 add value signature
- fake_classsym
Classsym* fake_classsym(Identifier id)
- toImport
Symbol* toImport(Symbol* sym)
- toImport
Symbol* toImport(Dsymbol ds)
Generate import symbol from symbol.
- toInitializer
Symbol* toInitializer(AggregateDeclaration ad)
Create the static initializer for the struct/class.
- toInitializer
Symbol* toInitializer(EnumDeclaration ed)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSymbol
Symbol* toSymbol(Dsymbol s)
- toSymbol
Symbol* toSymbol(StructLiteralExp sle)
- toSymbol
Symbol* toSymbol(ClassReferenceExp cre)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSymbolCpp
Symbol* toSymbolCpp(ClassDeclaration cd)
For C++ class cd, generate an instance of __cpp_type_info_ptr
and populate it with a pointer to the C++ type info.
- toSymbolCppTypeInfo
Symbol* toSymbolCppTypeInfo(ClassDeclaration cd)
Generate Symbol of C++ type info for C++ class cd.
- toSymbolX
Symbol* toSymbolX(Dsymbol ds, const(char)* prefix, int sclass, type* t, const(char)* suffix)
- toThunkSymbol
Symbol* toThunkSymbol(FuncDeclaration fd, int offset)
Thunks adjust the incoming 'this' pointer by 'offset'.
- toVtblSymbol
Symbol* toVtblSymbol(ClassDeclaration cd)
This is accessible via the ClassData, but since it is frequently
needed directly (like for rtti comparisons), make it directly accessible.
Convert a D symbol to a symbol the linker understands (with mangled name).