Methods

Class Index [+]

Quicksearch

Sass::SCSS::ScriptLexer

A mixin for subclasses of {Sass::Script::Lexer} that makes them usable by {SCSS::Parser} to parse SassScript. In particular, the lexer doesn’t support `!` for a variable prefix.

Private Instance Methods

variable() click to toggle source
    # File lib/sass/scss/script_lexer.rb, line 9
 9:       def variable
10:         return [:raw, "!important"] if scan(Sass::SCSS::RX::IMPORTANT)
11:         _variable(/(\$)(#{Sass::SCSS::RX::IDENT})/)
12:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.