Class: Sass::Script::Lexer

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

Instance Method Summary collapse

Instance Method Details

#identObject



94
95
96
97
98
99
100
# File 'lib/sass_tumblr.rb', line 94

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

#ident_without_tumblr_varObject

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



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

alias :ident_without_tumblr_var :ident