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 directive
        start_pos = source_position
        return unless tok(/@/)
        name = tok!(IDENT)
        ss
        if (dir = special_directive(name, start_pos))
          return dir
        elsif (dir = prefixed_directive(name, start_pos))
          return dir
        end
        val = almost_any_value
        val = val ? ["@#{name} "] + Sass::Util.strip_string_array(val) : ["@#{name}"]
        directive_body(val, start_pos)
      end
def directive start_pos = source_position return unless tok ( / @ / ) name = tok! ( IDENT ) ss if ( dir = special_directive ( name , start_pos ) ) return dir elsif ( dir = prefixed_directive ( name , start_pos ) ) return dir end val = almost_any_value val = val ? [ "@#{name} " ] + Sass :: Util . strip_string_array ( val ) : [ "@#{name}" ] directive_body ( val , start_pos ) end
Expose for the SASS parser.
Expose for the SASS parser .