This is a subclass of {Lexer} for use in parsing plain CSS properties.
# File lib/sass/script/css_lexer.rb, line 23 23: def important 24: return unless s = scan(IMPORTANT) 25: [:raw, s] 26: end
# File lib/sass/script/css_lexer.rb, line 13 13: def string(re, *args) 14: if re == :uri 15: return unless uri = scan(URI) 16: return [:string, Script::String.new(uri)] 17: end 18: 19: return unless scan(STRING) 20: [:string, Script::String.new((@scanner[1] || @scanner[2]).gsub(/\\(['"])/, '\1'), :string)] 21: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.