lex.c File Reference

This graph shows which files directly or indirectly include this file:

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

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.

#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.

#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(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cto_i(), debug_lines(), enum_group_by(), fdbm_invert(), fdbm_to_hash(), fgdbm_invert(), fgdbm_to_hash(), flo_hash(), fsdbm_invert(), fsdbm_to_hash(), id_hash_new(), Init_ossl_x509name(), lfp_svar_get(), lfp_svar_set(), method_hash(), ossl_config_get_section(), ossl_dh_get_params(), ossl_dsa_get_params(), ossl_rsa_get_params(), ossl_sslctx_get_session_cache_stats(), ossl_x509name_hash(), proc_hash(), rb_ary_and(), rb_ary_diff(), rb_ary_or(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_big_hash(), rb_exec_getargs(), rb_reg_named_captures(), rb_str_format(), rb_str_sub_bang(), recursive_hash(), recursive_list_access(), reg_named_captures_iter(), sdbm_store(), set_zero(), set_zero_i(), str_gsub(), tk_hash_kv(), tr_trans(), and yyparse().

struct kwtable* rb_reserved_word ( const char *  ,
unsigned  int 
)

Definition at line 16142 of file ripper.c.

References reserved_word().

static struct kwtable* reserved_word ( const char *  ,
unsigned  int 
) [static]

Referenced by rb_reserved_word().


Generated on Wed Aug 10 09:18:46 2011 for Ruby by  doxygen 1.4.7