Struct gluon_base::symbol::Symbols
[−]
[src]
pub struct Symbols { /* fields omitted */ }
Symbols
is a bidirectional mapping between Symbol
s and their name as represented in a
source file.
Used to make identifiers within a single module point to the same symbol
Methods
impl Symbols
[src]
fn new() -> Symbols
[src]
fn symbol<N>(&mut self, name: N) -> Symbol where
N: Into<NameBuf> + AsRef<Name>,
[src]
N: Into<NameBuf> + AsRef<Name>,
Looks up the symbol for name
or creates a new symbol if it does not exist