Class: Sass::Script::CssLexer

Inherits:
Lexer
  • Object
show all
Defined in:
lib/sass/script/css_lexer.rb

Overview

This is a subclass of Lexer for use in parsing plain CSS properties.

Constant Summary

Constants inherited from Lexer

Lexer::IDENT_OP_NAMES, Lexer::OPERATORS, Lexer::OPERATORS_REVERSE, Lexer::OP_NAMES, Lexer::REGULAR_EXPRESSIONS, Lexer::STRING_REGULAR_EXPRESSIONS, Lexer::TOKEN_NAMES

Constants included from Sass::SCSS::RX

Sass::SCSS::RX::CDC, Sass::SCSS::RX::CDO, Sass::SCSS::RX::COMMENT, Sass::SCSS::RX::DASHMATCH, Sass::SCSS::RX::DEFAULT, Sass::SCSS::RX::ESCAPE, Sass::SCSS::RX::FUNCTION, Sass::SCSS::RX::GREATER, Sass::SCSS::RX::H, Sass::SCSS::RX::HASH, Sass::SCSS::RX::HEXCOLOR, Sass::SCSS::RX::IDENT, Sass::SCSS::RX::IMPORTANT, Sass::SCSS::RX::INCLUDES, Sass::SCSS::RX::INTERP_START, Sass::SCSS::RX::MOZ_ANY, Sass::SCSS::RX::NAME, Sass::SCSS::RX::NL, Sass::SCSS::RX::NMCHAR, Sass::SCSS::RX::NMSTART, Sass::SCSS::RX::NONASCII, Sass::SCSS::RX::NOT, Sass::SCSS::RX::NUM, Sass::SCSS::RX::NUMBER, Sass::SCSS::RX::PLUS, Sass::SCSS::RX::PREFIXMATCH, Sass::SCSS::RX::RANGE, Sass::SCSS::RX::S, Sass::SCSS::RX::SINGLE_LINE_COMMENT, Sass::SCSS::RX::STATIC_SELECTOR, Sass::SCSS::RX::STATIC_VALUE, Sass::SCSS::RX::STRING, Sass::SCSS::RX::STRING1, Sass::SCSS::RX::STRING1_NOINTERP, Sass::SCSS::RX::STRING2, Sass::SCSS::RX::STRING2_NOINTERP, Sass::SCSS::RX::STRING_NOINTERP, Sass::SCSS::RX::SUBSTRINGMATCH, Sass::SCSS::RX::SUFFIXMATCH, Sass::SCSS::RX::TILDE, Sass::SCSS::RX::UNICODE, Sass::SCSS::RX::UNICODERANGE, Sass::SCSS::RX::URI, Sass::SCSS::RX::URL, Sass::SCSS::RX::URLCHAR, Sass::SCSS::RX::W

Instance Attribute Summary

Attributes inherited from Lexer

#line, #offset

Method Summary

Methods inherited from Lexer

#after_interpolation?, #done?, #expected!, #initialize, #next, #peek, #str, #unpeek!, #whitespace?

Methods included from Sass::SCSS::RX

escape_ident

Constructor Details

This class inherits a constructor from Sass::Script::Lexer