Blender V5.3
bsl::SymbolMap< SymbolT > Struct Template Reference

#include <symbol_scope.hh>

Inherits unordered_map< string, pair< SourceLocation, SymbolT * > >.

Public Member Functions

pair< SymbolT *, bool > emplace (SymbolT *sym)
pair< SymbolT *, bool > emplace (const string &id, SymbolT *sym)
pair< SymbolT *, bool > emplace (const string &id, SymbolT *sym, SourceLocation loc)
SymbolT * operator[] (const string &k)

Detailed Description

template<typename SymbolT>
struct bsl::SymbolMap< SymbolT >

Identifier to symbol map.

Definition at line 30 of file symbol_scope.hh.

Member Function Documentation

◆ emplace() [1/3]

template<typename SymbolT>
pair< SymbolT *, bool > bsl::SymbolMap< SymbolT >::emplace ( const string & id,
SymbolT * sym )
inline

Definition at line 38 of file symbol_scope.hh.

◆ emplace() [2/3]

template<typename SymbolT>
pair< SymbolT *, bool > bsl::SymbolMap< SymbolT >::emplace ( const string & id,
SymbolT * sym,
SourceLocation loc )
inline

Definition at line 44 of file symbol_scope.hh.

◆ emplace() [3/3]

template<typename SymbolT>
pair< SymbolT *, bool > bsl::SymbolMap< SymbolT >::emplace ( SymbolT * sym)
inline

Definition at line 31 of file symbol_scope.hh.

◆ operator[]()

template<typename SymbolT>
SymbolT * bsl::SymbolMap< SymbolT >::operator[] ( const string & k)
inline

Definition at line 50 of file symbol_scope.hh.


The documentation for this struct was generated from the following file: