vendor/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/parser.rb
# Expose for the SASS parser.
Expose for the SASS parser.
Expose for the SASS parser .
def sass_script(*args)
        parser = self.class.sass_script_parser.new(@scanner, @line, @offset,
          :filename => @filename, :importer => @importer, :allow_extra_text => true)
        result = parser.send(*args)
        unless @strs.empty?
          src = result.to_sass
          @strs.each {|s| s << src}
        end
        @line = parser.line
        @offset = parser.offset
        result
      rescue Sass::SyntaxError => e
        throw(:_sass_parser_error, true) if @throw_error
        raise e
      end
def sass_script ( * args ) parser = self . class . sass_script_parser . new ( @scanner , @line , @offset , :filename => @filename , :importer => @importer , :allow_extra_text => true ) result = parser . send ( * args ) unless @strs . empty? src = result . to_sass @strs . each { | s | s << src } end @line = parser . line @offset = parser . offset result rescue Sass :: SyntaxError => e throw ( :_sass_parser_error , true ) if @throw_error raise e end
Expose for the SASS parser.
Expose for the SASS parser .
# Convert to CSS manually so that comments are ignored.
args
<not_specific>