Module gluon_base::symbol
source · Expand description
Module which contains types working with symbols
Structs
- A symbol uniquely identifies something regardless of its name and which module it originated from
SymbolModule
wraps aSymbols
struct and adds a prefix to all symbols created by thesymbol
method. While this prefix does not affect the uniques of aSymbol
in any way, it does make the origin of a symbol clearer when pretty printing itSymbols
is a bidirectional mapping betweenSymbol
s and their name as represented in a source file. Used to make identifiers within a single module point to the same symbol