Macros |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "2.7.12-4996" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYDEBUG 1 |
| #define | YYERROR_VERBOSE 1 |
| #define | YYMALLOC(n) mrb_malloc(p->mrb, (n)) |
| #define | YYFREE(o) mrb_free(p->mrb, (o)) |
| #define | YYSTACK_USE_ALLOCA 0 |
| #define | YYLEX_PARAM p |
| #define | isascii(c) (((c) & ~0x7f) == 0) |
| #define | identchar(c) (isalnum(c) || (c) == '_' || !isascii(c)) |
| #define | BITSTACK_PUSH(stack, n) ((stack) = ((stack)<<1)|((n)&1)) |
| #define | BITSTACK_POP(stack) ((stack) = (stack) >> 1) |
| #define | BITSTACK_LEXPOP(stack) ((stack) = ((stack) >> 1) | ((stack) & 1)) |
| #define | BITSTACK_SET_P(stack) ((stack)&1) |
| #define | COND_PUSH(n) BITSTACK_PUSH(p->cond_stack, (n)) |
| #define | COND_POP() BITSTACK_POP(p->cond_stack) |
| #define | COND_LEXPOP() BITSTACK_LEXPOP(p->cond_stack) |
| #define | COND_P() BITSTACK_SET_P(p->cond_stack) |
| #define | CMDARG_PUSH(n) BITSTACK_PUSH(p->cmdarg_stack, (n)) |
| #define | CMDARG_POP() BITSTACK_POP(p->cmdarg_stack) |
| #define | CMDARG_LEXPOP() BITSTACK_LEXPOP(p->cmdarg_stack) |
| #define | CMDARG_P() BITSTACK_SET_P(p->cmdarg_stack) |
| #define | sym(x) ((mrb_sym)(intptr_t)(x)) |
| #define | nsym(x) ((node*)(intptr_t)(x)) |
| #define | intern(s) intern_gen(p,(s)) |
| #define | intern2(s, len) intern_gen2(p,(s),(len)) |
| #define | intern_c(c) intern_gen_c(p,(c)) |
| #define | cons_free(c) cons_free_gen(p, (c)) |
| #define | cons(a, b) cons_gen(p,(a),(b)) |
| #define | list1(a) list1_gen(p, (a)) |
| #define | list2(a, b) list2_gen(p, (a),(b)) |
| #define | list3(a, b, c) list3_gen(p, (a),(b),(c)) |
| #define | list4(a, b, c, d) list4_gen(p, (a),(b),(c),(d)) |
| #define | list5(a, b, c, d, e) list5_gen(p, (a),(b),(c),(d),(e)) |
| #define | list6(a, b, c, d, e, f) list6_gen(p, (a),(b),(c),(d),(e),(f)) |
| #define | append(a, b) append_gen(p,(a),(b)) |
| #define | push(a, b) append_gen(p,(a),list1(b)) |
| #define | strndup(s, len) parser_strndup(p, s, len) |
| #define | strdup(s) parser_strdup(p, s) |
| #define | newline_node(n) (n) |
| #define | is_strterm_type(p, str_func) ((int)(intptr_t)((p)->lex_strterm->car) & (str_func)) |
| #define | YY_NULL 0 |
| #define | YYERROR_VERBOSE 1 |
| #define | YYTOKENTYPE |
| #define | YYSTYPE_IS_TRIVIAL 1 |
| #define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| #define | YYSTYPE_IS_DECLARED 1 |
| #define | YYSIZE_T unsigned int |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YY_(Msgid) Msgid |
| #define | __attribute__(Spec) /* empty */ |
| #define | YYUSE(E) ((void) (E)) |
| #define | YYID(N) (N) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYFINAL 3 |
| #define | YYLAST 10895 |
| #define | YYNTOKENS 151 |
| #define | YYNNTS 154 |
| #define | YYNRULES 544 |
| #define | YYNSTATES 956 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 379 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -745 |
| #define | YYTABLE_NINF -545 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-745))) |
| #define | yytable_value_is_error(Yytable_value) (!!((Yytable_value) == (-545))) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYFAIL goto yyerrlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
| #define | YYLEX yylex (&yylval, YYLEX_PARAM) |
| #define | YYFPRINTF fprintf |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYCASE_(N, S) |
| #define | YY_INITIAL_VALUE(Value) = Value |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
| #define | YYSYNTAX_ERROR |
| #define | yylval (*((YYSTYPE*)(p->ylval))) |
| #define | peek(p, c) peek_n((p), (c), 0) |
| #define | IS_ARG() (p->lstate == EXPR_ARG || p->lstate == EXPR_CMDARG) |
| #define | IS_END() (p->lstate == EXPR_END || p->lstate == EXPR_ENDARG || p->lstate == EXPR_ENDFN) |
| #define | IS_BEG() (p->lstate == EXPR_BEG || p->lstate == EXPR_MID || p->lstate == EXPR_VALUE || p->lstate == EXPR_CLASS) |
| #define | IS_SPCARG(c) (IS_ARG() && space_seen && !ISSPACE(c)) |
| #define | IS_LABEL_POSSIBLE() ((p->lstate == EXPR_BEG && !cmd_state) || IS_ARG()) |
| #define | IS_LABEL_SUFFIX(n) (peek_n(p, ':',(n)) && !peek_n(p, ':', (n)+1)) |
| #define | no_digits() do {yyerror(p,"numeric literal without digits"); return 0;} while (0) |
Enumerations |
| enum | yytokentype {
keyword_class = 258,
keyword_module = 259,
keyword_def = 260,
keyword_undef = 261,
keyword_begin = 262,
keyword_rescue = 263,
keyword_ensure = 264,
keyword_end = 265,
keyword_if = 266,
keyword_unless = 267,
keyword_then = 268,
keyword_elsif = 269,
keyword_else = 270,
keyword_case = 271,
keyword_when = 272,
keyword_while = 273,
keyword_until = 274,
keyword_for = 275,
keyword_break = 276,
keyword_next = 277,
keyword_redo = 278,
keyword_retry = 279,
keyword_in = 280,
keyword_do = 281,
keyword_do_cond = 282,
keyword_do_block = 283,
keyword_do_LAMBDA = 284,
keyword_return = 285,
keyword_yield = 286,
keyword_super = 287,
keyword_self = 288,
keyword_nil = 289,
keyword_true = 290,
keyword_false = 291,
keyword_and = 292,
keyword_or = 293,
keyword_not = 294,
modifier_if = 295,
modifier_unless = 296,
modifier_while = 297,
modifier_until = 298,
modifier_rescue = 299,
keyword_alias = 300,
keyword_BEGIN = 301,
keyword_END = 302,
keyword__LINE__ = 303,
keyword__FILE__ = 304,
keyword__ENCODING__ = 305,
tIDENTIFIER = 306,
tFID = 307,
tGVAR = 308,
tIVAR = 309,
tCONSTANT = 310,
tCVAR = 311,
tLABEL = 312,
tINTEGER = 313,
tFLOAT = 314,
tCHAR = 315,
tXSTRING = 316,
tREGEXP = 317,
tSTRING = 318,
tSTRING_PART = 319,
tSTRING_MID = 320,
tNTH_REF = 321,
tBACK_REF = 322,
tREGEXP_END = 323,
tUPLUS = 324,
tUMINUS = 325,
tPOW = 326,
tCMP = 327,
tEQ = 328,
tEQQ = 329,
tNEQ = 330,
tGEQ = 331,
tLEQ = 332,
tANDOP = 333,
tOROP = 334,
tMATCH = 335,
tNMATCH = 336,
tDOT2 = 337,
tDOT3 = 338,
tAREF = 339,
tASET = 340,
tLSHFT = 341,
tRSHFT = 342,
tCOLON2 = 343,
tCOLON3 = 344,
tOP_ASGN = 345,
tASSOC = 346,
tLPAREN = 347,
tLPAREN_ARG = 348,
tRPAREN = 349,
tLBRACK = 350,
tLBRACE = 351,
tLBRACE_ARG = 352,
tSTAR = 353,
tAMPER = 354,
tLAMBDA = 355,
tSYMBEG = 356,
tREGEXP_BEG = 357,
tWORDS_BEG = 358,
tSYMBOLS_BEG = 359,
tSTRING_BEG = 360,
tXSTRING_BEG = 361,
tSTRING_DVAR = 362,
tLAMBEG = 363,
tHEREDOC_BEG = 364,
tHEREDOC_END = 365,
tLITERAL_DELIM = 366,
tLOWEST = 367,
tUMINUS_NUM = 368,
idNULL = 369,
idRespond_to = 370,
idIFUNC = 371,
idCFUNC = 372,
id_core_set_method_alias = 373,
id_core_set_variable_alias = 374,
id_core_undef_method = 375,
id_core_define_method = 376,
id_core_define_singleton_method = 377,
id_core_set_postexe = 378,
tLAST_TOKEN = 379
} |