Sha256: 7a6dd4a69c49130119f0b5805db005ae97f01b9d2d5c01136a8fedf175d1db24

Contents?: true

Size: 430 Bytes

Versions: 219

Compression:

Stored size: 430 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::IDENT})/)
      end
    end
  end
end

Version data entries

219 entries across 218 versions & 4 rubygems

Version Path
radiant-1.0.0.rc1 vendor/plugins/haml/lib/sass/scss/script_lexer.rb
haml-3.1.0 vendor/sass/lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.221 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.218 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.217 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.216 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.212 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.214 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.210 lib/sass/scss/script_lexer.rb
haml-3.1.0.alpha.147 vendor/sass/lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.206 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.205 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.204 lib/sass/scss/script_lexer.rb
haml-3.1.0.alpha.145 vendor/sass/lib/sass/scss/script_lexer.rb
haml-3.0.25 lib/sass/scss/script_lexer.rb
haml-3.1.0.alpha.144 vendor/sass/lib/sass/scss/script_lexer.rb
haml-3.1.0.alpha.141 vendor/sass/lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.200 lib/sass/scss/script_lexer.rb
sass-3.1.0.alpha.51 lib/sass/scss/script_lexer.rb
haml-3.1.0.alpha.37 vendor/sass/lib/sass/scss/script_lexer.rb