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 tags in CSS value Parse as ident token (like ‘middle’, ‘top’) in the parser.
Instance Method Details
#ident ⇒ Object
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_var ⇒ Object
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 |