Class: CSVPlusPlus::ModifierParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/csv_plus_plus/modifier.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",
"\":\"",
"\"=\"",
"\"/\"",
"A1_NOTATION",
"END_MODIFIERS",
"EQ",
"HEX_COLOR",
"NUMBER",
"MODIFIER_ID",
"MODIFIER_SEPARATOR",
"START_CELL_MODIFIERS",
"START_ROW_MODIFIERS",
"STRING",
"URL",
"\"align\"",
"\"border\"",
"\"bordercolor\"",
"\"borderstyle\"",
"\"color\"",
"\"expand\"",
"\"font\"",
"\"fontcolor\"",
"\"fontfamily\"",
"\"fontsize\"",
"\"format\"",
"\"freeze\"",
"\"note\"",
"\"numberformat\"",
"\"validate\"",
"\"bold\"",
"\"italic\"",
"\"strikethrough\"",
"\"underline\"",
"\"left\"",
"\"center\"",
"\"right\"",
"\"top\"",
"\"bottom\"",
"\"all\"",
"\"dashed\"",
"\"dotted\"",
"\"double\"",
"\"solid\"",
"\"solid_medium\"",
"\"solid_thick\"",
"\"currency\"",
"\"date\"",
"\"date_time\"",
"\"number\"",
"\"percent\"",
"\"text\"",
"\"time\"",
"\"scientific\"",
"\"blank\"",
"\"boolean\"",
"\"custom_formula\"",
"\"date_after\"",
"\"date_before\"",
"\"date_between\"",
"\"date_eq\"",
"\"date_is_valid\"",
"\"date_not_between\"",
"\"date_not_eq\"",
"\"date_on_or_after\"",
"\"date_on_or_before\"",
"\"not_blank\"",
"\"number_between\"",
"\"number_eq\"",
"\"number_greater\"",
"\"number_greater_than_eq\"",
"\"number_less\"",
"\"number_less_than_eq\"",
"\"number_not_between\"",
"\"number_not_eq\"",
"\"one_of_list\"",
"\"one_of_range\"",
"\"text_contains\"",
"\"text_ends_with\"",
"\"text_eq\"",
"\"text_is_email\"",
"\"text_is_url\"",
"\"text_not_contains\"",
"\"text_not_eq\"",
"\"text_starts_with\"",
"\"past_year\"",
"\"past_month\"",
"\"past_week\"",
"\"yesterday\"",
"\"today\"",
"\"tomorrow\"",
"$start",
"modifiers_definition",
"row_modifiers",
"cell_modifiers",
"modifiers",
"@1",
"@2",
"modifier",
"align_options",
"border_options",
"borderstyle_option",
"format_options",
"numberformat_option",
"condition",
"format_option",
"halign_option",
"valign_option",
"border_option",
"condition_value",
"relative_date",
"condition_values" ]
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object

reduce 107 omitted



916
917
918
# File 'lib/csv_plus_plus/modifier.tab.rb', line 916

def _reduce_none(val, _values, result)
  val[0]
end