class RubyLsp::Scope

def add(name, type)

: ((String | Symbol) name, Symbol type) -> void
Add a new local to this scope. The types should only be `:parameter` or `:variable`
def add(name, type)
  @locals[name.to_sym] = Local.new(type)
end