Class: CSS::SAC::GeneratedPropertyParser

Inherits:
Racc::Parser
  • Object
show all
Defined in:
lib/css/sac/generated_property_parser.rb

Direct Known Subclasses

PropertyParser

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',
'ANGLE',
'COLOR',
'URI',
'PERCENTAGE',
'LENGTH',
'EMS',
'EXS',
'STRING',
'IDENT',
'INTEGER',
'COMMA',
'TIME',
'NUMBER',
'FREQ',
'HASH',
'"auto"',
'"inherit"',
'"invert"',
'"none"',
'"normal"',
'"transparent"',
'"0"',
'"aqua"',
'"black"',
'"blue"',
'"fuchsia"',
'"gray"',
'"green"',
'"lime"',
'"maroon"',
'"navy"',
'"olive"',
'"orange"',
'"purple"',
'"red"',
'"silver"',
'"teal"',
'"white"',
'"yellow"',
'"azimuth"',
'"leftwards"',
'"rightwards"',
'"behind"',
'"left-side"',
'"far-left"',
'"left"',
'"center-left"',
'"center"',
'"center-right"',
'"right"',
'"far-right"',
'"right-side"',
'"background-attachment"',
'"scroll"',
'"fixed"',
'"background-color"',
'"background-image"',
'"background-position"',
'"top"',
'"bottom"',
'"background-repeat"',
'"repeat"',
'"repeat-x"',
'"repeat-y"',
'"no-repeat"',
'"background"',
'"border-collapse"',
'"collapse"',
'"separate"',
'"border-color"',
'"border-spacing"',
'"border-style"',
'"hidden"',
'"dotted"',
'"dashed"',
'"solid"',
'"double"',
'"groove"',
'"ridge"',
'"inset"',
'"outset"',
'"border-top"',
'"border-right"',
'"border-bottom"',
'"border-left"',
'"border-top-color"',
'"border-right-color"',
'"border-bottom-color"',
'"border-left-color"',
'"border-top-style"',
'"border-right-style"',
'"border-bottom-style"',
'"border-left-style"',
'"border-top-width"',
'"border-right-width"',
'"border-bottom-width"',
'"border-left-width"',
'"border-width"',
'"thin"',
'"medium"',
'"thick"',
'"border"',
'"caption-side"',
'"clear"',
'"both"',
'"clip"',
'"rect("',
'"color"',
'"content"',
'"attr("',
'"open-quote"',
'"close-quote"',
'"no-open-quote"',
'"no-close-quote"',
'"counter("',
'"counters("',
'"counter-increment"',
'"counter-reset"',
'"cue-after"',
'"cue-before"',
'"cue"',
'"cursor"',
'"crosshair"',
'"default"',
'"pointer"',
'"move"',
'"e-resize"',
'"ne-resize"',
'"nw-resize"',
'"n-resize"',
'"se-resize"',
'"sw-resize"',
'"s-resize"',
'"w-resize"',
'"text"',
'"wait"',
'"help"',
'"progress"',
'"direction"',
'"ltr"',
'"rtl"',
'"display"',
'"inline"',
'"block"',
'"list-item"',
'"run-in"',
'"inline-block"',
'"table"',
'"inline-table"',
'"table-row-group"',
'"table-header-group"',
'"table-footer-group"',
'"table-row"',
'"table-column-group"',
'"table-column"',
'"table-cell"',
'"table-caption"',
'"elevation"',
'"below"',
'"level"',
'"above"',
'"higher"',
'"lower"',
'"empty-cells"',
'"show"',
'"hide"',
'"float"',
'"font-family"',
'"serif"',
'"sans-serif"',
'"cursive"',
'"fantasy"',
'"monospace"',
'"font-size"',
'"xx-small"',
'"x-small"',
'"small"',
'"large"',
'"x-large"',
'"xx-large"',
'"larger"',
'"smaller"',
'"font-style"',
'"italic"',
'"oblique"',
'"font-variant"',
'"small-caps"',
'"font-weight"',
'"bold"',
'"bolder"',
'"lighter"',
'"font"',
'"caption"',
'"icon"',
'"menu"',
'"message-box"',
'"small-caption"',
'"status-bar"',
'"/"',
'"height"',
'"letter-spacing"',
'"line-height"',
'"list-style-image"',
'"list-style-position"',
'"inside"',
'"outside"',
'"list-style-type"',
'"disc"',
'"circle"',
'"square"',
'"decimal"',
'"decimal-leading-zero"',
'"lower-roman"',
'"upper-roman"',
'"lower-greek"',
'"lower-latin"',
'"upper-latin"',
'"armenian"',
'"georgian"',
'"lower-alpha"',
'"upper-alpha"',
'"list-style"',
'"margin-right"',
'"margin-left"',
'"margin-top"',
'"margin-bottom"',
'"margin"',
'"max-height"',
'"max-width"',
'"min-height"',
'"min-width"',
'"orphans"',
'"outline-color"',
'"outline-style"',
'"outline-width"',
'"outline"',
'"overflow"',
'"visible"',
'"padding-top"',
'"padding-right"',
'"padding-bottom"',
'"padding-left"',
'"padding"',
'"page-break-after"',
'"page-break-before"',
'"always"',
'"avoid"',
'"page-break-inside"',
'"pause-after"',
'"pause-before"',
'"pause"',
'"pitch-range"',
'"pitch"',
'"x-low"',
'"low"',
'"high"',
'"x-high"',
'"play-during"',
'"mix"',
'"position"',
'"static"',
'"relative"',
'"absolute"',
'"quotes"',
'"richness"',
'"speak-header"',
'"once"',
'"speak-numeral"',
'"digits"',
'"continuous"',
'"speak-punctuation"',
'"code"',
'"speak"',
'"spell-out"',
'"speech-rate"',
'"x-slow"',
'"slow"',
'"fast"',
'"x-fast"',
'"faster"',
'"slower"',
'"stress"',
'"table-layout"',
'"text-align"',
'"justify"',
'"text-decoration"',
'"underline"',
'"overline"',
'"line-through"',
'"blink"',
'"text-indent"',
'"text-transform"',
'"capitalize"',
'"uppercase"',
'"lowercase"',
'"unicode-bidi"',
'"embed"',
'"bidi-override"',
'"vertical-align"',
'"baseline"',
'"sub"',
'"super"',
'"text-top"',
'"middle"',
'"text-bottom"',
'"visibility"',
'"voice-family"',
'"male"',
'"female"',
'"child"',
'"volume"',
'"silent"',
'"x-soft"',
'"soft"',
'"loud"',
'"x-loud"',
'"white-space"',
'"pre"',
'"nowrap"',
'"pre-wrap"',
'"pre-line"',
'"windows"',
'"width"',
'"word-spacing"',
'"z-index"',
'$start',
'property',
'azimuth',
'background_attachment',
'background_color',
'background_image',
'background_position',
'background_repeat',
'background',
'border_collapse',
'border_color',
'border_spacing',
'border_style',
'border_trbl',
'border_trbl_color',
'border_trbl_style',
'border_trbl_width',
'border_width',
'border',
'bottom',
'caption_side',
'clear',
'clip',
'color_lex',
'content',
'counter_increment_or_reset',
'cue_after_or_before',
'cue',
'cursor',
'direction',
'display',
'elevation',
'empty_cells',
'float',
'font_family',
'font_size',
'font_style',
'font_variant',
'font_weight',
'font',
'hlrt',
'letter_spacing',
'line_height',
'list_style_image',
'list_style_position',
'list_style_type',
'list_style',
'margin_rltb',
'margin',
'max_height_or_width',
'min_height_or_width',
'orphans',
'outline_color',
'outline_style',
'outline_width',
'outline',
'overflow',
'padding_trbl',
'padding',
'page_break_ab',
'page_break_inside',
'pause_ab',
'pause',
'pitch_range',
'pitch',
'play_during',
'position',
'quotes',
'richness',
'speak_header',
'speak_numeral',
'speak_punctuation',
'speak',
'speech_rate',
'stress',
'table_layout',
'text_align',
'text_decoration',
'text_indent',
'text_transform',
'unicode_bidi',
'vertical_align',
'visibility',
'voice_family',
'volume',
'white_space',
'windows',
'width',
'word_spacing',
'z_index',
'angle',
'zero',
'percentage',
'time',
'number',
'integer',
'frequency',
'string',
'uri',
'length',
'length_values',
'auto',
'inherit',
'invert',
'ident',
'none',
'normal',
'transparent',
'color',
'color_names',
'azimuth_side_and_behind',
'azimuth_side_values',
'background_attachment_values',
'background_attachment_values_ident',
'background_color_values',
'background_image_values',
'background_position_values',
'pl_left_center_right',
'optional_pl_top_center_bottom',
'left_center_right',
'top_center_bottom',
'left_center_right_values',
'top_center_bottom_values',
'background_repeat_values',
'background_repeat_values_ident',
'background_values',
'border_collapse_values',
'border_color_values',
'color_or_transparent',
'border_spacing_values',
'border_style_values_1to4',
'border_style_values',
'border_style_values_ident',
'border_trbl_keys',
'border_values',
'border_trbl_color_keys',
'border_trbl_color_values',
'border_trbl_style_keys',
'border_trbl_width_keys',
'border_width_values',
'border_width_values_1to4',
'border_width_values_ident',
'bottom_values',
'caption_side_values',
'clear_values',
'clip_values',
'shape',
'shape_param',
'content_values_1toN',
'content_values',
'content_values_ident',
'counter',
'list_style_type_values',
'counter_increment_or_reset_keys',
'counter_increment_values_1toN',
'counter_increment_values',
'cue_after_or_before_keys',
'cue_after_or_before_values',
'cue_values',
'cursor_values',
'uri_0toN',
'cursor_values_idents',
'display_values',
'elevation_values',
'elevation_values_ident',
'empty_cells_values',
'float_values',
'font_family_values_1toN',
'font_family_values',
'generic_family',
'font_size_values',
'absolute_size',
'relative_size',
'font_style_values',
'font_style_values_ident',
'font_variant_values',
'font_weight_values',
'font_weight_values_ident',
'font_values',
'font_style_variant_weight_0or1',
'slash_line_height_0or1',
'font_values_ident',
'line_height_values',
'hlrt_keys',
'letter_spacing_values',
'list_style_image_values',
'list_style_position_values',
'list_style_position_ident',
'list_style_type_values_ident',
'list_style_values',
'margin_rltb_keys',
'margin_width_values',
'margin_width_values_1to4',
'max_height_or_width_keys',
'max_height_values',
'min_height_or_width_keys',
'min_height_values',
'outline_color_values',
'outline_style_values',
'outline_width_values',
'outline_values',
'overflow_values',
'padding_trbl_keys',
'padding_width',
'padding_width_1to4',
'padding_width_values',
'page_break_ab_keys',
'page_break_ab_values',
'page_break_inside_values',
'pause_ab_keys',
'pause_ab_values',
'pause_values_1or2',
'pause_values',
'pitch_values',
'pitch_values_ident',
'play_during_values',
'mix_or_repeat_0or1',
'position_values',
'quotes_values',
'string_pair_1toN',
'speak_header_values',
'speak_numeral_values',
'speak_punctuation_values',
'speak_values',
'speech_rate_values',
'table_layout_values',
'text_align_values',
'text_decoration_values',
'text_indent_values',
'text_transform_values',
'unicode_bidi_values',
'vertical_align_values',
'vertical_align_values_ident',
'visibility_values',
'voice_family_values',
'specific_voice_generic_voice_1toN',
'generic_voice',
'specific_voice',
'generic_voice_ident',
'volume_values',
'volume_values_ident',
'white_space_values',
'width_values',
'word_spacing_values',
'z_index_values']
Racc_debug_parser =
false

Instance Method Summary collapse

Instance Method Details

#_reduce_none(val, _values, result) ⇒ Object

reduce 1190 omitted



9206
9207
9208
# File 'lib/css/sac/generated_property_parser.rb', line 9206

def _reduce_none( val, _values, result )
 result
end