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 for_directive(start_pos)
        tok!(/\$/)
        var = tok! IDENT
        ss
        tok!(/from/)
        from = sass_script(:parse_until, Set["to", "through"])
        ss
        @expected = '"to" or "through"'
        exclusive = (tok(/to/) || tok!(/through/)) == 'to'
        to = sass_script(:parse)
        ss
        block(node(Sass::Tree::ForNode.new(var, from, to, exclusive), start_pos), :directive)
      end
def for_directive ( start_pos ) tok! ( / \$ / ) var = tok! IDENT ss tok! ( / from / ) from = sass_script ( :parse_until , Set [ "to" , "through" ] ) ss @expected = '"to" or "through"' exclusive = ( tok ( / to / ) || tok! ( / through / ) ) == 'to' to = sass_script ( :parse ) ss block ( node ( Sass :: Tree :: ForNode . new ( var , from , to , exclusive ) , start_pos ) , :directive ) end
Expose for the SASS parser.
Expose for the SASS parser .
start_pos
<not_specific>