Class: Sass::Script::Lexer

Inherits:
Object
  • Object
show all
Defined in:
lib/sass_tumblr.rb

Instance Method Summary collapse

Instance Method Details

#identObject



76
77
78
79
80
81
82
# File 'lib/sass_tumblr.rb', line 76

def ident
  if scan(TUMBLR_VAR)
    [:ident, @scanner[1]]
  else
    ident_without_tumblr_var
  end
end

#ident_without_tumblr_varObject

Handle Tumblr variable tags in CSS value Parse as ident token (like ‘middle’, ‘top’) in the parser. Used from all parsers.



75
# File 'lib/sass_tumblr.rb', line 75

alias :ident_without_tumblr_var :ident