View source code
Display the source code in dmd/tocsym.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.tocsym

Compiler implementation of the D programming language.

Documentation

https://dlang.org/phobos/dmd_tocsym.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tocsym.d

Functions

NameDescription
aaGetSymbol(taa, func, flags) Determine the right symbol to look up an associative array element.
fake_classsym(id) Fake a struct symbol.
toImport(sym)
toImport(ds) Generate import symbol from symbol.
toInitializer(ad) Create the static initializer for the struct/class.
toSymbol(s)
toSymbol(sle)
toSymbolCpp(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(cd) Generate Symbol of C++ type info for C++ class cd.
toSymbolX(ds, prefix, sclass, t, suffix) Helper
toThunkSymbol(fd, offset) Thunks adjust the incoming 'this' pointer by 'offset'.
toVtblSymbol(cd) This is accessible via the ClassData, but since it is frequently needed directly (like for rtti comparisons), make it directly accessible.

Authors

Walter Bright

License

Boost License 1.0