lib/gen_lsp/protocol/type_aliases/definition.ex
# codegen: do not edit
defmodule GenLSP.TypeAlias.Definition do
@moduledoc """
The definition of a symbol represented as one or many {@link Location locations}.
For most programming languages there is only one location at which a symbol is
defined.
Servers should prefer returning `DefinitionLink` over `Definition` if supported
by the client.
"""
import Schematic, warn: false
@type t :: GenLSP.Structures.Location.t() | list(GenLSP.Structures.Location.t())
@doc false
@spec schematic() :: Schematic.t()
def schematic() do
oneof([GenLSP.Structures.Location.schematic(), list(GenLSP.Structures.Location.schematic())])
end
end