Class: MediaWikiParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/mediacloth/mediawikiparser.rb,
lib/mediacloth/mediawikiparser.tab.rb

Constant Summary collapse

Racc_arg =
[
racc_action_table,
racc_action_check,
racc_action_default,
racc_action_pointer,
racc_goto_table,
racc_goto_check,
racc_goto_default,
racc_goto_pointer,
racc_nt_base,
racc_reduce_table,
racc_token_table,
racc_shift_n,
racc_reduce_n,
racc_use_result_var ]
Racc_token_to_s_table =
[
"$end",
"error",
"TEXT",
"BOLD_START",
"BOLD_END",
"ITALIC_START",
"ITALIC_END",
"LINK_START",
"LINK_END",
"LINKSEP",
"INTLINK_START",
"INTLINK_END",
"INTLINKSEP",
"RESOURCESEP",
"PRE_START",
"PRE_END",
"CHAR_ENT",
"SECTION_START",
"SECTION_END",
"HLINE",
"SIGNATURE_NAME",
"SIGNATURE_DATE",
"SIGNATURE_FULL",
"PARA_START",
"PARA_END",
"UL_START",
"UL_END",
"OL_START",
"OL_END",
"LI_START",
"LI_END",
"DL_START",
"DL_END",
"DT_START",
"DT_END",
"DD_START",
"DD_END",
"TAG_START",
"TAG_END",
"ATTR_NAME",
"ATTR_VALUE",
"TABLE_START",
"TABLE_END",
"ROW_START",
"ROW_END",
"HEAD_START",
"HEAD_END",
"CELL_START",
"CELL_END",
"KEYWORD",
"TEMPLATE_START",
"TEMPLATE_END",
"CATEGORY",
"$start",
"wiki",
"repeated_contents",
"contents",
"text",
"bulleted_list",
"numbered_list",
"dictionary_list",
"preformatted",
"section",
"tag",
"template",
"para_contents",
"link_contents",
"reslink_repeated_contents",
"intlink_repeated_contents",
"cat_sort_contents",
"table",
"tag_attributes",
"link_repeated_contents",
"element",
"formatted_element",
"table_contents",
"row_contents",
"list_item",
"list_contents",
"@1",
"dictionary_term",
"dictionary_contents",
"dictionary_definition",
"template_parameters" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object



1389
1390
1391
# File 'lib/mediacloth/mediawikiparser.rb', line 1389

def _reduce_none( val, _values, result )
 result
end