lex.c File Reference

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

struct kwtablerb_reserved_word (const char *, unsigned int)
static struct kwtablereserved_word (const char *, unsigned int)
static unsigned int hash (const char *str, unsigned int len)

Define Documentation

#define MAX_HASH_VALUE   50

Definition at line 45 of file lex.c.

#define MAX_WORD_LENGTH   12

Definition at line 43 of file lex.c.

Referenced by reg_named_capture_assign_iter().

#define MIN_HASH_VALUE   8

Definition at line 44 of file lex.c.

#define MIN_WORD_LENGTH   2

Definition at line 42 of file lex.c.

Referenced by rb_reserved_word().

#define rb_reserved_word ( str,
len   )     reserved_word(str, len)

Definition at line 37 of file lex.c.

Referenced by parser_yylex(), and reg_named_capture_assign_iter().

#define TOTAL_KEYWORDS   41

Definition at line 41 of file lex.c.


Function Documentation

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(), date_s__parse_internal(), date_s__strptime_internal(), date_s_httpdate(), date_s_iso8601(), date_s_jisx0301(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_xmlschema(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jisx0301(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), debug_lines(), enum_group_by(), enum_to_h(), enum_to_h_i(), fdbm_invert(), fdbm_to_hash(), fgdbm_invert(), fgdbm_to_hash(), fsdbm_invert(), fsdbm_to_hash(), group_by_i(), hash_foreach_call(), hidden_identity_hash_new(), ident_hash_new(), Init_ossl_x509name(), iseq_data_to_ary(), 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_dbl_hash(), rb_exec_getargs(), rb_extract_keywords(), rb_reg_named_captures(), rb_reserved_word(), 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 *  str,
unsigned int  len 
) [read]
static struct kwtable* reserved_word ( const char *  ,
unsigned  int 
) [static, read]

Referenced by rb_reserved_word().


Generated on 18 May 2020 for Ruby by  doxygen 1.6.1