Class: Sass::Script::Lexer
- Inherits:
-
Object
- Object
- Sass::Script::Lexer
- Defined in:
- lib/sass_tumblr.rb
Instance Method Summary collapse
- #ident ⇒ Object
-
#ident_without_tumblr_var ⇒ Object
Handle Tumblr variable tags in CSS value Parse as ident token (like ‘middle’, ‘top’) in the parser.
Instance Method Details
#ident ⇒ Object
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_var ⇒ Object
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 |