Class: Sass::SCSS::SassParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/sass/scss/sass_parser.rb

Overview

A subclass of Parser that parses code in Sass documents using some SCSS constructs. This is necessary because SassScript in Sass supports !-style variables, whereas in SCSS it doesn't.

Constant Summary

Constants included from RX

RX::CDC, RX::CDO, RX::COMMENT, RX::DASHMATCH, RX::DEFAULT, RX::ESCAPE, RX::FUNCTION, RX::GREATER, RX::H, RX::HASH, RX::HEXCOLOR, RX::IDENT, RX::IMPORTANT, RX::INCLUDES, RX::INTERP_START, RX::MOZ_ANY, RX::NAME, RX::NL, RX::NMCHAR, RX::NMSTART, RX::NONASCII, RX::NOT, RX::NUM, RX::NUMBER, RX::PLUS, RX::PREFIXMATCH, RX::RANGE, RX::S, RX::SINGLE_LINE_COMMENT, 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::URI, RX::URL, RX::URLCHAR, RX::W

Method Summary

Methods inherited from Parser

#initialize, #parse, #parse_interp_ident

Methods included from RX

escape_ident

Constructor Details

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