vendor/bundle/ruby/2.5.0/gems/sass-3.7.2/lib/sass/scss/parser.rb
# Expose for the SASS parser.
Expose for the SASS parser.
Expose for the SASS parser .
def if_directive(start_pos)
        expr = sass_script(:parse)
        ss
        node = block(node(Sass::Tree::IfNode.new(expr), start_pos), :directive)
        pos = @scanner.pos
        line = @line
        ss
        else_block(node) ||
          begin
            @scanner.pos = pos
            @line = line
            node
          end
      end
def if_directive ( start_pos ) expr = sass_script ( :parse ) ss node = block ( node ( Sass :: Tree :: IfNode . new ( expr ) , start_pos ) , :directive ) pos = @scanner . pos line = @line ss else_block ( node ) || begin @scanner . pos = pos @line = line node end end
Expose for the SASS parser.
Expose for the SASS parser .
# Backtrack in case there are any comments we want to parse
start_pos
<not_specific>