|
hoshi-lang dev
Yet another programming language
|
#include <def.hpp>
Classes | |
| class | iterator |
Public Member Functions | |
| yoi::indexT | put (const A &a, const B &b) |
| yoi::indexT | put_create (const A &a, const B &b) |
| B & | operator[] (const A &k) |
| B & | operator[] (yoi::indexT k) |
| yoi::indexT | getIndex (const A &k) |
| yoi::indexT | getIndex (const std::function< bool(const A &)> &pred) |
| const A & | getKey (yoi::indexT i) const |
| yoi::indexT | size () |
| iterator | begin () |
| iterator | end () |
| yoi::indexT | size () const |
| bool | contains (const A &k) const |
Private Attributes | |
| std::map< A, yoi::indexT > | indexes |
| std::vector< std::pair< A, B > > | values |
|
inline |
Definition at line 291 of file def.hpp.
References indexTable< A, B >::values.
|
inline |
Definition at line 297 of file def.hpp.
References indexTable< A, B >::indexes.
|
inline |
Definition at line 293 of file def.hpp.
References indexTable< A, B >::values.
|
inline |
Definition at line 198 of file def.hpp.
References indexTable< A, B >::indexes.
Referenced by compilerContext::compileModule(), and compilerContext::getModuleIndexByRealPath().

|
inline |
Definition at line 206 of file def.hpp.
References indexTable< A, B >::values.
|
inline |
Definition at line 215 of file def.hpp.
References indexTable< A, B >::indexes, and indexTable< A, B >::values.
|
inline |
Definition at line 180 of file def.hpp.
References indexTable< A, B >::indexes, and indexTable< A, B >::values.
|
inline |
Definition at line 190 of file def.hpp.
References indexTable< A, B >::indexes, and indexTable< A, B >::values.
|
inline |
Definition at line 161 of file def.hpp.
References indexTable< A, B >::indexes, and indexTable< A, B >::values.
Referenced by compilerContext::compileModule().

|
inline |
Definition at line 171 of file def.hpp.
References indexTable< A, B >::indexes, and indexTable< A, B >::values.
Referenced by IRFFITable::addExportedFunction(), IREnumerationType::Builder::addValue(), and visitor::getTemplateArgs().

|
inline |
Definition at line 222 of file def.hpp.
References indexTable< A, B >::values.
|
inline |
Definition at line 295 of file def.hpp.
References indexTable< A, B >::values.
|
private |
Definition at line 158 of file def.hpp.
Referenced by indexTable< A, B >::contains(), indexTable< A, B >::getIndex(), indexTable< A, B >::getKey(), indexTable< A, B >::operator[](), indexTable< A, B >::operator[](), indexTable< A, B >::put(), and indexTable< A, B >::put_create().
|
private |
Definition at line 159 of file def.hpp.
Referenced by indexTable< A, B >::begin(), indexTable< A, B >::end(), indexTable< A, B >::getIndex(), indexTable< A, B >::getKey(), indexTable< A, B >::operator[](), indexTable< A, B >::operator[](), indexTable< A, B >::put(), indexTable< A, B >::put_create(), indexTable< A, B >::size(), and indexTable< A, B >::size().