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 s = scan(IMPORTANT) return unless s [:raw, s] end
def string(re, *args)
def string(re, *args) if re == :uri uri = scan(URI) return unless uri return [:string, Script::Value::String.new(uri)] end return unless scan(STRING) string_value = Sass::Script::Value::String.value(@scanner[1] || @scanner[2]) value = Script::Value::String.new(string_value, :string) [:string, value] end
def token
def token important || super end