Go to the source code of this file.
Functions | |
| unsigned long | compress (unsigned long h, short num_bits) |
| unsigned long | hash_string (const char *s) |
| unsigned long | hash_variable_raw_info (char *name, short num_bits) |
| unsigned long | hash_identifier_raw_info (char name_letter, unsigned long name_number, short num_bits) |
| unsigned long | hash_sym_constant_raw_info (const char *name, short num_bits) |
| unsigned long | hash_int_constant_raw_info (long value, short num_bits) |
| unsigned long | hash_float_constant_raw_info (float value, short num_bits) |
| unsigned long | hash_variable (void *item, short num_bits) |
| unsigned long | hash_identifier (void *item, short num_bits) |
| unsigned long | hash_sym_constant (void *item, short num_bits) |
| unsigned long | hash_int_constant (void *item, short num_bits) |
| unsigned long | hash_float_constant (void *item, short num_bits) |
| void | init_symbol_tables (void) |
| Symbol * | find_variable (char *name) |
| Symbol * | find_identifier (char name_letter, unsigned long name_number) |
| Symbol * | find_sym_constant (const char *name) |
| Symbol * | find_int_constant (long value) |
| Symbol * | find_float_constant (float value) |
| Symbol * | make_variable (char *name) |
| Symbol * | make_new_identifier (char name_letter, goal_stack_level level) |
| Symbol * | make_sym_constant (const char *name) |
| Symbol * | make_int_constant (long value) |
| Symbol * | make_float_constant (float value) |
| void | deallocate_symbol (Symbol *sym) |
| void | reset_id_counters (void) |
| bool | reset_tc_num (void *item) |
| void | reset_id_and_variable_tc_numbers (void) |
| bool | reset_gensym_number (void *item) |
| void | reset_variable_gensym_numbers (void) |
| bool | print_sym (void *item) |
| Symbol * | generate_new_sym_constant (char *prefix, unsigned long *counter) |
| void | create_predefined_symbols (void) |
|
||||||||||||
|
Definition at line 76 of file symtab.c. References masks_for_n_low_order_bits. Referenced by hash_float_constant(), hash_float_constant_raw_info(), hash_identifier(), hash_identifier_raw_info(), hash_int_constant(), hash_int_constant_raw_info(), hash_sym_constant(), hash_sym_constant_raw_info(), hash_variable(), and hash_variable_raw_info(). |
|
|
Definition at line 555 of file symtab.c. References make_sym_constant(), and make_variable(). Referenced by init_soar_agent(). |
|
|
Definition at line 416 of file symtab.c. References abort_with_fatal_error(), free_memory_block_for_string(), sym_constant_struct::name, variable_struct::name, print_with_symbols(), remove_from_hash_table(), symbol_union::sc, Symbol, and symbol_union::var. |
|
|
Definition at line 274 of file symtab.c. References symbol_union::fc, hash_float_constant_raw_info(), Symbol, and float_constant_struct::value. Referenced by make_float_constant(), read_attribute_from_string(), and read_pattern_component(). |
|
||||||||||||
|
Definition at line 232 of file symtab.c. References hash_identifier_raw_info(), symbol_union::id, identifier_struct::name_letter, identifier_struct::name_number, and Symbol. Referenced by read_attribute_from_string(), read_id_or_context_var_from_string(), read_identifier_or_context_variable(), read_pattern_component(), and read_wme_filter_component(). |
|
|
Definition at line 260 of file symtab.c. References hash_int_constant_raw_info(), symbol_union::ic, Symbol, and int_constant_struct::value. Referenced by make_int_constant(), read_attribute_from_string(), and read_pattern_component(). |
|
|
|
Definition at line 218 of file symtab.c. References hash_variable_raw_info(), variable_struct::name, Symbol, and symbol_union::var. Referenced by get_context_var_info_from_string(), and make_variable(). |
|
||||||||||||
|
Definition at line 534 of file symtab.c. References find_sym_constant(), make_sym_constant(), and Symbol. Referenced by chunk_instantiation(), generate_chunk_name_sym_constant(), and make_constant_symbol_rhs_function_code(). |
|
||||||||||||
|
Definition at line 165 of file symtab.c. References compress(), float_constant, and float_constant_struct::value. Referenced by init_symbol_tables(). |
|
||||||||||||
|
Definition at line 128 of file symtab.c. References compress(). Referenced by find_float_constant(). |
|
||||||||||||
|
Definition at line 144 of file symtab.c. References compress(), identifier, identifier_struct::name_letter, and identifier_struct::name_number. Referenced by init_symbol_tables(). |
|
||||||||||||||||
|
Definition at line 113 of file symtab.c. References compress(). Referenced by find_identifier(). |
|
||||||||||||
|
Definition at line 158 of file symtab.c. References compress(), int_constant, and int_constant_struct::value. Referenced by init_symbol_tables(). |
|
||||||||||||
|
Definition at line 123 of file symtab.c. References compress(). Referenced by find_int_constant(). |
|
|
Definition at line 92 of file symtab.c. Referenced by hash_sym_constant(), hash_sym_constant_raw_info(), hash_variable(), and hash_variable_raw_info(). |
|
||||||||||||
|
Definition at line 151 of file symtab.c. References compress(), hash_string(), sym_constant_struct::name, and sym_constant. Referenced by init_symbol_tables(). |
|
||||||||||||
|
Definition at line 118 of file symtab.c. References compress(), and hash_string(). Referenced by find_sym_constant(). |
|
||||||||||||
|
Definition at line 137 of file symtab.c. References compress(), hash_string(), variable_struct::name, and variable. Referenced by init_symbol_tables(). |
|
||||||||||||
|
Definition at line 108 of file symtab.c. References compress(), and hash_string(). Referenced by find_variable(). |
|
|
Definition at line 180 of file symtab.c. References float_constant, hash_float_constant(), hash_identifier(), hash_int_constant(), hash_sym_constant(), hash_variable(), identifier, init_memory_pool(), int_constant, make_hash_table(), sym_constant, and variable. Referenced by init_soar_agent(). |
|
|
|
||||||||||||
|
|
|
|
Definition at line 526 of file symtab.c. References print_string(), and symbol_to_string(). Referenced by soar_ecPrintInternalSymbols(). |
|
|
Definition at line 512 of file symtab.c. References variable_struct::gensym_number, Symbol, and symbol_union::var. Referenced by reset_variable_gensym_numbers(). |
|
|
Definition at line 506 of file symtab.c. References do_for_all_items_in_hash_table(), and reset_tc_num(). Referenced by get_new_tc_number(). |
|
|
Definition at line 480 of file symtab.c. References print(). Referenced by soar_cReInitSoar(). |
|
|
Definition at line 494 of file symtab.c. References symbol_union::id, Symbol, variable_struct::tc_num, identifier_struct::tc_num, and symbol_union::var. Referenced by reset_id_and_variable_tc_numbers(). |
|
|
Definition at line 521 of file symtab.c. References do_for_all_items_in_hash_table(), and reset_gensym_number(). Referenced by reset_variable_generator(). |
1.3.5