Ruby
1.9.3p448(2013-06-27revision41675)
|
Go to the source code of this file.
Data Structures | |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYLSP_NEEDED 0 |
#define | yyparse syckparse |
#define | yylex sycklex |
#define | yyerror syckerror |
#define | yylval sycklval |
#define | yychar syckchar |
#define | yydebug syckdebug |
#define | yynerrs sycknerrs |
#define | YYTOKENTYPE |
#define | YAML_ANCHOR 258 |
#define | YAML_ALIAS 259 |
#define | YAML_TRANSFER 260 |
#define | YAML_TAGURI 261 |
#define | YAML_ITRANSFER 262 |
#define | YAML_WORD 263 |
#define | YAML_PLAIN 264 |
#define | YAML_BLOCK 265 |
#define | YAML_DOCSEP 266 |
#define | YAML_IOPEN 267 |
#define | YAML_INDENT 268 |
#define | YAML_IEND 269 |
#define | YYPARSE_PARAM parser |
#define | YYLEX_PARAM parser |
#define | NULL_NODE(parser, node) |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 0 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYFREE free |
#define | YYMALLOC malloc |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 52 |
#define | YYLAST 396 |
#define | YYNTOKENS 23 |
#define | YYNNTS 29 |
#define | YYNRULES 79 |
#define | YYNSTATES 128 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 269 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -97 |
#define | YYTABLE_NINF -1 |
#define | YYSIZE_T unsigned int |
#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 | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YYLEX yylex (&yylval, YYLEX_PARAM) |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YYDSYMPRINT(Args) |
#define | YYDSYMPRINTF(Title, Token, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK (yyvsp--, yyssp--) |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
typedef short int | yysigned_char |
Functions | |
void | apply_seq_in_map (SyckParser *parser, SyckNode *n) |
static void | yy_stack_print (short int *bottom, short int *top) |
static void | yy_reduce_print (int yyrule) |
static void | yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) |
static void | yydestruct (int yytype, YYSTYPE *yyvaluep) |
int | yyparse () |
int | yyparse (void *YYPARSE_PARAM) |
Variables | |
static const unsigned char | yytranslate [] |
static const unsigned char | yyprhs [] |
static const yysigned_char | yyrhs [] |
static const unsigned short int | yyrline [] |
static const char *const | yytname [] |
static const unsigned char | yyr1 [] |
static const unsigned char | yyr2 [] |
static const unsigned char | yydefact [] |
static const yysigned_char | yydefgoto [] |
static const short int | yypact [] |
static const yysigned_char | yypgoto [] |
static const unsigned char | yytable [] |
static const yysigned_char | yycheck [] |
static const unsigned char | yystos [] |
int | yydebug |
#define NULL_NODE | ( | parser, | |
node | |||
) |
Definition at line 106 of file gram.c.
Referenced by divide_look_behind_alternatives(), expand_case_fold_string(), expand_case_fold_string_alt(), get_head_value_node(), i_apply_case_fold(), node_new_call(), node_new_quantifier(), onig_node_list_add(), onig_reduce_nested_quantifier(), parse_char_class(), parse_exp(), scan_env_add_mem_entry(), scan_env_clear(), setup_tree(), str_node_split_last_char(), and yyparse().
#define YAML_ALIAS 259 |
Definition at line 80 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_ANCHOR 258 |
Definition at line 79 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_DOCSEP 266 |
Definition at line 87 of file gram.c.
Referenced by sycklex(), sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_IEND 269 |
Definition at line 90 of file gram.c.
Referenced by sycklex_bytecode_utf8().
#define YAML_INDENT 268 |
Definition at line 89 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_IOPEN 267 |
Definition at line 88 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_ITRANSFER 262 |
Definition at line 83 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_PLAIN 264 |
Definition at line 85 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YAML_TAGURI 261 |
Definition at line 82 of file gram.c.
Referenced by sycklex_bytecode_utf8().
#define YAML_TRANSFER 260 |
Definition at line 81 of file gram.c.
Referenced by sycklex_bytecode_utf8(), and sycklex_yaml_utf8().
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 743 of file gram.c.
Referenced by yyparse().
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 713 of file gram.c.
Referenced by yyparse().
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
#define YYDPRINTF | ( | Args | ) |
#define YYDSYMPRINT | ( | Args | ) |
#define YYDSYMPRINTF | ( | Title, | |
Token, | |||
Value, | |||
Location | |||
) |
Definition at line 681 of file gram.c.
Referenced by yyparse().
#define YYFPRINTF fprintf |
Definition at line 666 of file gram.c.
Referenced by yy_reduce_print(), yy_stack_print(), and yysymprint().
#define YYLEX yylex (&yylval, YYLEX_PARAM) |
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
#define YYNTOKENS 23 |
Definition at line 260 of file gram.c.
Referenced by yyparse(), and yysymprint().
#define YYPOPSTACK (yyvsp--, yyssp--) |
Referenced by yyparse().
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_RELOCATE | ( | Stack | ) |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
typedef short int yysigned_char |
enum yytokentype |
void apply_seq_in_map | ( | SyckParser * | parser, |
SyckNode * | n | ||
) |
Definition at line 1879 of file gram.c.
References map_value, NULL, _syck_node::shortcut, syck_hdlr_add_node(), syck_map_assign(), and syck_map_count().
Referenced by yyparse().
|
static |
|
static |
|
static |
int yyparse | ( | ) |
int yyparse | ( | void * | YYPARSE_PARAM | ) |
Definition at line 931 of file gram.c.
References apply_seq_in_map(), name, YYSTYPE::nodeData, YYSTYPE::nodeId, NULL, NULL_NODE, _syck_node::shortcut, syck_add_transfer(), syck_alloc_map(), syck_alloc_seq(), syck_free_node(), syck_hdlr_add_anchor(), syck_hdlr_add_node(), syck_hdlr_get_anchor(), syck_map_update(), syck_new_map(), syck_new_seq(), syck_seq_add(), syck_strndup(), syck_taguri(), try_tag_implicit(), _syck_node::type_id, YAML_DOMAIN, YY_REDUCE_PRINT, YY_STACK_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYDSYMPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yystpcpy(), yystrlen(), yytable, YYTABLE_NINF, YYTERROR, yytname, and YYTRANSLATE.
|
static |
int yydebug |
Definition at line 751 of file gram.c.
Referenced by dump_option(), proc_options(), and process_options().
|
static |
Definition at line 423 of file gram.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 451 of file gram.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 310 of file gram.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 395 of file gram.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 408 of file gram.c.
Referenced by yyparse().
|
static |
Definition at line 323 of file gram.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 351 of file gram.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 571 of file gram.c.
Referenced by yyparse().
|
static |
Definition at line 367 of file gram.c.
Referenced by yy_reduce_print(), yyparse(), and yysymprint().
|
static |