|
Ruby
2.0.0p353(2013-11-22revision43784)
|

Go to the source code of this file.
Data Structures | |
| struct | kwtable |
Macros | |
| #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 kwtable * | rb_reserved_word (const char *, unsigned int) |
| static struct kwtable * | reserved_word (const char *, unsigned int) |
| switch (hval) | |
| if (len<=MAX_WORD_LENGTH &&len >=MIN_WORD_LENGTH) | |
Variables | |
| static unsigned int register const char * | str |
| register unsigned int | len |
| register int | hval = len |
| return hval | asso_values [(unsigned char) str[len-1]] |
| return | |
| #define MAX_WORD_LENGTH 12 |
Definition at line 43 of file lex.c.
Referenced by reg_named_capture_assign_iter().
| #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().
| if | ( | len<=MAX_WORD_LENGTH &&len >= | MIN_WORD_LENGTH | ) |
Referenced by rb_reserved_word().
Definition at line 89 of file lex.c.
Referenced by cdhash_hash(), hash_i(), rb_any_hash(), rb_hash(), rb_str_hash_m(), recursive_hash(), and strcasehash().
1.8.5