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 function(allow_var)
        name = tok(FUNCTION)
        return unless name
        if name == "expression(" || name == "calc("
          str, _ = Sass::Shared.balance(@scanner, ?(, ?), 1)
          [name, str]
        else
          [name, str {ss}, expr(allow_var), tok!(/\)/)]
        end
      end
def function ( allow_var ) name = tok ( FUNCTION ) return unless name if name == "expression(" || name == "calc(" str , _ = Sass :: Shared . balance ( @scanner , ?( , ?) , 1 ) [ name , str ] else [ name , str { ss } , expr ( allow_var ) , tok! ( / \) / ) ] end end
Expose for the SASS parser.
Expose for the SASS parser .
allow_var
<not_specific>