Class: Sass::SCSS::CssParser

Inherits:
StaticParser show all
Defined in:
lib/sass/scss/css_parser.rb

Overview

This is a subclass of Parser which only parses plain CSS. It doesn't support any Sass extensions, such as interpolation, parent references, nested selectors, and so forth. It does support all the same CSS hacks as the SCSS parser, though.

Constant Summary

Constants included from RX

RX::ANY, RX::CDC, RX::CDO, RX::COMMENT, RX::DASHMATCH, RX::DOMAIN, RX::ESCAPE, RX::FUNCTION, RX::GREATER, RX::H, RX::HASH, RX::HEXCOLOR, RX::IDENT, RX::IDENT_HYPHEN_INTERP, RX::IDENT_START, RX::IMPORTANT, RX::INCLUDES, RX::INTERP_START, RX::NAME, RX::NL, RX::NMCHAR, RX::NMSTART, RX::NONASCII, RX::NOT, RX::NUMBER, RX::OPTIONAL, RX::PERCENTAGE, RX::PLUS, RX::PREFIXMATCH, RX::RANGE, RX::S, RX::SINGLE_LINE_COMMENT, RX::STATIC_COMPONENT, RX::STATIC_SELECTOR, RX::STATIC_VALUE, RX::STRING, RX::STRING1, RX::STRING1_NOINTERP, RX::STRING2, RX::STRING2_NOINTERP, RX::STRING_NOINTERP, RX::SUBSTRINGMATCH, RX::SUFFIXMATCH, RX::TILDE, RX::UNICODE, RX::UNICODERANGE, RX::UNIT, RX::UNITLESS_NUMBER, RX::URI, RX::URL, RX::URLCHAR, RX::URL_PREFIX, RX::VARIABLE, RX::W

Instance Attribute Summary

Attributes inherited from Parser

#offset

Method Summary

Methods inherited from StaticParser

#initialize, #parse_keyframes_selector, #parse_selector, #parse_static_at_root_query

Methods inherited from Parser

#initialize, #parse, #parse_at_root_query, #parse_declaration_value, #parse_interp_ident, #parse_media_query_list, #parse_supports_clause, #parse_supports_condition

Methods included from RX

escape_ident

Constructor Details

This class inherits a constructor from Sass::SCSS::StaticParser