Sha256: b34020223e6934e3f653e2c6755d17742b7286d71dfb90ae56bdcf7b7721d1e1

Contents?: true

Size: 422 Bytes

Versions: 635

Compression:

Stored size: 422 Bytes

Contents

module Sass
  module SCSS
    # 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.
    module ScriptLexer
      private

      def variable
        return [:raw, "!important"] if scan(Sass::SCSS::RX::IMPORTANT)
        _variable(Sass::SCSS::RX::VARIABLE)
      end
    end
  end
end

Version data entries

635 entries across 346 versions & 18 rubygems

Version Path
oreorenasass-3.4.4 lib/sass/scss/script_lexer.rb
oreorenasass-3.4.3 lib/sass/scss/script_lexer.rb
oreorenasass-3.4.2 lib/sass/scss/script_lexer.rb
oreorenasass-3.4.1 lib/sass/scss/script_lexer.rb
oreorenasass-3.4.0 lib/sass/scss/script_lexer.rb
sass-3.4.0 lib/sass/scss/script_lexer.rb
sass-3.4.0.rc.3 lib/sass/scss/script_lexer.rb
sass-3.3.14 lib/sass/scss/script_lexer.rb
sass-3.3.13 lib/sass/scss/script_lexer.rb
sass-3.3.12 lib/sass/scss/script_lexer.rb
sass-3.4.0.rc.2 lib/sass/scss/script_lexer.rb
sass-3.3.11 lib/sass/scss/script_lexer.rb
sass-3.4.0.rc.1 lib/sass/scss/script_lexer.rb
sass-3.3.10 lib/sass/scss/script_lexer.rb
sass-3.3.9 lib/sass/scss/script_lexer.rb
sass-3.3.8 lib/sass/scss/script_lexer.rb
sass-3.3.7 lib/sass/scss/script_lexer.rb
sass-3.3.6 lib/sass/scss/script_lexer.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/sass-3.2.14/lib/sass/scss/script_lexer.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/sass-3.2.14/lib/sass/scss/script_lexer.rb