class Sass::Script::Lexer
def initialize(str, line, offset, filename)
-
offset(Fixnum) -- The number of characters in on which the SassScript appears. -
line(Fixnum) -- The line on which the SassScript appears. -
str(String, StringScanner) -- The source text to lex
def initialize(str, line, offset, filename) @scanner = str.is_a?(StringScanner) ? str : StringScanner.new(str) @line = line @offset = offset @filename = filename @prev = nil end