#include <lexer.h>
Collaboration diagram for atlas::interpreter::Hash_table:

Public Types | |
| typedef short | id_type |
Public Member Functions | |
| Hash_table (size_t init=initial_hash_mod, size_t block_size=String_pool::default_block_size) | |
| id_type | match (const char *s, size_t l) |
| id_type | match_literal (const char *s) |
| std::string | name_of (id_type nr) const |
| id_type | nr_entries () const |
Private Member Functions | |
| id_type | hash (const char *s, size_t l) const |
| id_type | do_match (const char *s, size_t l, bool copy_string) |
| size_t | max_fill () const |
Private Attributes | |
| String_pool | pool |
| id_type | mod |
| std::vector< id_type > | hash_tab |
| std::vector< const char * > | name_tab |
Static Private Attributes | |
| const id_type | initial_hash_mod = 97 |
|
|
|
|
||||||||||||
|
Definition at line 33 of file lexer.cpp. References hash_tab, max_fill(), and name_tab. |
|
||||||||||||||||
|
Definition at line 47 of file lexer.cpp. References id_type. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 43 of file lexer.h. References id_type. Referenced by atlas::interpreter::Lexical_analyser::get_token(). |
|
|
Definition at line 44 of file lexer.h. References id_type. Referenced by atlas::interpreter::check_type(), and atlas::interpreter::install_function(). |
|
|
Definition at line 53 of file lexer.h. Referenced by Hash_table(). |
|
|
|
Definition at line 48 of file lexer.h. References id_type. Referenced by atlas::interpreter::id_completion_func(). |
|
|
Definition at line 38 of file lexer.h. Referenced by Hash_table(). |
|
|
|
|
|
|
|
|
Definition at line 39 of file lexer.h. Referenced by Hash_table(). |
|
|
|
1.3.9.1