class Sass::Script::CssLexer
@see Sass::SCSS::CssParser
This is a subclass of {Lexer} for use in parsing plain CSS properties.
def important
def important return unless s = scan(IMPORTANT) [:raw, s] end
def string(re, *args)
def string(re, *args) if re == :uri return unless uri = scan(URI) return [:string, Script::String.new(uri)] end return unless scan(STRING) [:string, Script::String.new((@scanner[1] || @scanner[2]).gsub(/\\(['"])/, '\1'), :string)] end
def token
def token important || super end