class Sass::Script::Parser

def parse_function_definition_arglist

Raises:
  • (Sass::SyntaxError) - if the argument list isn't valid SassScript

Returns:
  • (Array) - The root nodes of the arguments.
def parse_function_definition_arglist
  args = defn_arglist!(true)
  assert_done
  args.each do |k, v|
    k.options = @options
    v.options = @options if v
  end
  args
rescue Sass::SyntaxError => e
  e.modify_backtrace :line => @lexer.line, :filename => @options[:filename]
  raise e
end