Class Sass::SCSS::CssParser
In: lib/sass/scss/css_parser.rb
Parent: StaticParser

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.

Methods

Public Instance methods

Parse a selector, and return its value as a string.

@return [String, nil] The parsed selector, or nil if no selector was parsed @raise [Sass::SyntaxError] if there‘s a syntax error in the selector

[Validate]