class Sass::Compiler::Host::FunctionRegistry

def initialize(functions, alert_color:)

def initialize(functions, alert_color:)
  @compile_context = Object.new
  @global_functions = functions.keys.map!(&:to_s)
  @functions_by_name = functions.transform_keys do |signature|
    signature = signature.to_s
    index = signature.index('(')
    if index
      signature.slice(0, index)
    else
      signature
    end
  end
  @id = 0
  @functions_by_id = {}.compare_by_identity
  @ids_by_function = {}.compare_by_identity
  @highlight = alert_color
end