Go to the source code of this file.
Data Structures | |
| struct | kwtable |
Defines | |
| #define | rb_reserved_word(str, len) reserved_word(str, len) |
| #define | TOTAL_KEYWORDS 41 |
| #define | MIN_WORD_LENGTH 2 |
| #define | MAX_WORD_LENGTH 12 |
| #define | MIN_HASH_VALUE 8 |
| #define | MAX_HASH_VALUE 50 |
Functions | |
| kwtable * | rb_reserved_word (const char *, unsigned int) |
| static struct kwtable * | reserved_word (const char *, unsigned int) |
| static unsigned int | hash (const char *str, unsigned int len) |
Definition at line 37 of file lex.c.
Referenced by parser_yylex(), and reg_named_capture_assign_iter().
| static unsigned int hash | ( | const char * | str, | |
| unsigned int | len | |||
| ) | [static] |
Definition at line 56 of file lex.c.
Referenced by ary_make_hash(), ary_make_hash_by(), ary_tmp_hash_new(), BigDecimal_hash(), core_hash_from_ary(), core_hash_merge_kwd(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cto_i(), debug_lines(), enum_group_by(), enum_to_h(), enum_to_h_i(), fdbm_invert(), fdbm_to_hash(), fgdbm_invert(), fgdbm_to_hash(), flo_hash(), fsdbm_invert(), fsdbm_to_hash(), group_by_i(), hash_foreach_call(), hidden_identity_hash_new(), ident_hash_new(), Init_ossl_x509name(), m_core_hash_from_ary(), m_core_hash_merge_kwd(), m_core_hash_merge_ptr(), method_hash(), num_step_scan_args(), ossl_dh_get_params(), ossl_dsa_get_params(), ossl_rsa_get_params(), ossl_sslctx_get_session_cache_stats(), ossl_x509name_hash(), proc_hash(), range_hash(), rb_ary_and(), rb_ary_diff(), rb_ary_or(), rb_ary_to_h(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_big_hash(), rb_exec_getargs(), rb_extract_keywords(), rb_reg_named_captures(), rb_scan_args(), rb_str_format(), rb_str_sub_bang(), reachable_objects_from_root(), recursive_list_access(), reg_named_captures_iter(), sdbm_store(), set_zero(), set_zero_i(), st_foreach(), st_foreach_check(), str_gsub(), tk_hash_kv(), tr_trans(), unpack_entries(), vm_stat(), and yyparse().
| struct kwtable* rb_reserved_word | ( | const char * | , | |
| unsigned | int | |||
| ) |
| static struct kwtable* reserved_word | ( | const char * | , | |
| unsigned | int | |||
| ) | [static] |
Referenced by rb_reserved_word().
1.4.7