Warning, /kdevelop/kdev-ruby/parser/tools/gperf.txt is written in an unsupported language. File is not indexed.

0001 %{
0002 struct kwtable {const char *name; int id[2]; enum lex_state_e state;};
0003 const struct kwtable *rb_reserved_word(const char *, unsigned int);
0004 static const struct kwtable *reserved_word(const char *, unsigned int);
0005 #define rb_reserved_word(str, len) reserved_word(str, len)
0006 %}
0007 
0008 struct kwtable;
0009 %%
0010 __ENCODING__, {tENCODING, tENCODING}, EXPR_END
0011 __LINE__, {tLINE, tLINE}, EXPR_END
0012 __FILE__, {tFILE, tFILE}, EXPR_END
0013 BEGIN, {upBEGIN, upBEGIN}, EXPR_END
0014 END, {upEND, upEND}, EXPR_END
0015 alias, {tALIAS, tALIAS}, EXPR_FNAME
0016 and, {tKWAND, tKWAND}, EXPR_VALUE
0017 begin, {tBEGIN, tBEGIN}, EXPR_BEG
0018 break, {tBREAK, tBREAK}, EXPR_MID
0019 case, {tCASE, tCASE}, EXPR_VALUE
0020 class, {tCLASS, tCLASS}, EXPR_CLASS
0021 def, {tDEF, tDEF}, EXPR_FNAME
0022 defined?, {tDEFINED, tDEFINED}, EXPR_ARG
0023 do, {tDO, tDO}, EXPR_BEG
0024 else, {tELSE, tELSE}, EXPR_BEG
0025 elsif, {tELSIF, tELSIF}, EXPR_VALUE
0026 end, {tEND, tEND}, EXPR_END
0027 ensure, {tENSURE, tENSURE}, EXPR_BEG
0028 false, {tFALSE, tFALSE}, EXPR_END
0029 for, {tFOR, tFOR}, EXPR_VALUE
0030 if, {tIF, modifier_if}, EXPR_VALUE
0031 in, {tIN, tIN}, EXPR_VALUE
0032 module, {tMODULE, tMODULE}, EXPR_VALUE
0033 next, {tNEXT, tNEXT}, EXPR_MID
0034 nil, {tNIL, tNIL}, EXPR_END
0035 not, {tKWNOT, tKWNOT}, EXPR_ARG
0036 or, {tKWOR, tKWOR}, EXPR_VALUE
0037 redo, {tREDO, tREDO}, EXPR_END
0038 rescue, {tRESCUE, modifier_rescue}, EXPR_MID
0039 retry, {tRETRY, tRETRY}, EXPR_END
0040 return, {tRETURN, tRETURN}, EXPR_MID
0041 self, {tSELF, tSELF}, EXPR_END
0042 super, {tSUPER, tSUPER}, EXPR_ARG
0043 then, {tTHEN, tTHEN}, EXPR_BEG
0044 true, {tTRUE, tTRUE}, EXPR_END
0045 undef, {tUNDEF, tUNDEF}, EXPR_FNAME
0046 unless, {tUNLESS, modifier_unless}, EXPR_VALUE
0047 until, {tUNTIL, modifier_until}, EXPR_VALUE
0048 when, {tWHEN, tWHEN}, EXPR_VALUE
0049 while, {tWHILE, modifier_while}, EXPR_VALUE
0050 yield, {tYIELD, tYIELD}, EXPR_ARG
0051 %%