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 else_block(node)
        start_pos = source_position
        return unless tok(/@else/)
        ss
        else_node = block(
          node(Sass::Tree::IfNode.new((sass_script(:parse) if tok(/if/))), start_pos),
          :directive)
        node.add_else(else_node)
        pos = @scanner.pos
        line = @line
        ss
        else_block(node) ||
          begin
            @scanner.pos = pos
            @line = line
            node
          end
      end
def else_block ( node ) start_pos = source_position return unless tok ( / @else / ) ss else_node = block ( node ( Sass :: Tree :: IfNode . new ( ( sass_script ( :parse ) if tok ( / if / ) ) ) , start_pos ) , :directive ) node . add_else ( else_node ) 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
node
<not_specific>