Skip to content

Commit 6b4776a

Browse files
committed
vendor schematic
1 parent ed2e61a commit 6b4776a

File tree

619 files changed

+1387
-1387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

619 files changed

+1387
-1387
lines changed

apps/debug_adapter/lib/debug_adapter/output.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ defmodule ElixirLS.DebugAdapter.Output do
129129
@impl GenServer
130130
def handle_call({:send_response, request_packet, body = %struct{}}, _from, seq) do
131131
{:ok, dumped_body} =
132-
Schematic.dump(struct.schematic(), %{body | seq: seq, request_seq: request_packet["seq"]})
132+
SchematicV.dump(struct.schematic(), %{body | seq: seq, request_seq: request_packet["seq"]})
133133

134134
res = WireProtocol.send(dumped_body)
135135

@@ -148,7 +148,7 @@ defmodule ElixirLS.DebugAdapter.Output do
148148
seq
149149
) do
150150
{:ok, dumped_error} =
151-
Schematic.dump(
151+
SchematicV.dump(
152152
GenDAP.Structures.ErrorResponse.schematic(),
153153
%GenDAP.Structures.ErrorResponse{
154154
seq: seq,
@@ -177,7 +177,7 @@ defmodule ElixirLS.DebugAdapter.Output do
177177

178178
def handle_call({:send_event, body = %struct{seq: _}}, _from, seq) do
179179
# IO.warn(inspect(%{body | seq: seq}))
180-
{:ok, dumped_event} = Schematic.dump(struct.schematic(), %{body | seq: seq})
180+
{:ok, dumped_event} = SchematicV.dump(struct.schematic(), %{body | seq: seq})
181181
# IO.warn(inspect(dumped_event))
182182
res = WireProtocol.send(dumped_event)
183183
{:reply, res, seq + 1}

apps/debug_adapter/lib/protocol/dap/enumerations/breakpoint_mode_applicability.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.BreakpointModeApplicability do
77
@typedoc "A type defining DAP enumeration BreakpointModeApplicability"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@doc """
1313
In `SourceBreakpoint`s
@@ -34,7 +34,7 @@ defmodule GenDAP.Enumerations.BreakpointModeApplicability do
3434
def instruction, do: "instruction"
3535

3636
@doc false
37-
@spec schematic() :: Schematic.t()
37+
@spec schematic() :: SchematicV.t()
3838
def schematic() do
3939
oneof([
4040
"source",

apps/debug_adapter/lib/protocol/dap/enumerations/checksum_algorithm.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.ChecksumAlgorithm do
77
@typedoc "A type defining DAP enumeration ChecksumAlgorithm"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@spec md5() :: String.t()
1313
def md5, do: "MD5"
@@ -22,7 +22,7 @@ defmodule GenDAP.Enumerations.ChecksumAlgorithm do
2222
def timestamp, do: "timestamp"
2323

2424
@doc false
25-
@spec schematic() :: Schematic.t()
25+
@spec schematic() :: SchematicV.t()
2626
def schematic() do
2727
oneof([
2828
"MD5",

apps/debug_adapter/lib/protocol/dap/enumerations/completion_item_type.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.CompletionItemType do
77
@typedoc "A type defining DAP enumeration CompletionItemType"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@spec method() :: String.t()
1313
def method, do: "method"
@@ -67,7 +67,7 @@ defmodule GenDAP.Enumerations.CompletionItemType do
6767
def customcolor, do: "customcolor"
6868

6969
@doc false
70-
@spec schematic() :: Schematic.t()
70+
@spec schematic() :: SchematicV.t()
7171
def schematic() do
7272
oneof([
7373
"method",

apps/debug_adapter/lib/protocol/dap/enumerations/data_breakpoint_access_type.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.DataBreakpointAccessType do
77
@typedoc "A type defining DAP enumeration DataBreakpointAccessType"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@spec read() :: String.t()
1313
def read, do: "read"
@@ -19,7 +19,7 @@ defmodule GenDAP.Enumerations.DataBreakpointAccessType do
1919
def read_write, do: "readWrite"
2020

2121
@doc false
22-
@spec schematic() :: Schematic.t()
22+
@spec schematic() :: SchematicV.t()
2323
def schematic() do
2424
oneof([
2525
"read",

apps/debug_adapter/lib/protocol/dap/enumerations/exception_break_mode.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule GenDAP.Enumerations.ExceptionBreakMode do
1111
@typedoc "A type defining DAP enumeration ExceptionBreakMode"
1212
@type t :: String.t()
1313

14-
import Schematic, warn: false
14+
import SchematicV, warn: false
1515

1616
@spec never() :: String.t()
1717
def never, do: "never"
@@ -26,7 +26,7 @@ defmodule GenDAP.Enumerations.ExceptionBreakMode do
2626
def user_unhandled, do: "userUnhandled"
2727

2828
@doc false
29-
@spec schematic() :: Schematic.t()
29+
@spec schematic() :: SchematicV.t()
3030
def schematic() do
3131
oneof([
3232
"never",

apps/debug_adapter/lib/protocol/dap/enumerations/invalidated_areas.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.InvalidatedAreas do
77
@typedoc "A type defining DAP enumeration InvalidatedAreas"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@doc """
1313
All previously fetched data has become invalid and needs to be refetched.
@@ -34,7 +34,7 @@ defmodule GenDAP.Enumerations.InvalidatedAreas do
3434
def variables, do: "variables"
3535

3636
@doc false
37-
@spec schematic() :: Schematic.t()
37+
@spec schematic() :: SchematicV.t()
3838
def schematic() do
3939
oneof([
4040
"all",

apps/debug_adapter/lib/protocol/dap/enumerations/stepping_granularity.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Enumerations.SteppingGranularity do
77
@typedoc "A type defining DAP enumeration SteppingGranularity"
88
@type t :: String.t()
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
@doc """
1313
The step should allow the program to run until the current statement has finished executing.
@@ -30,7 +30,7 @@ defmodule GenDAP.Enumerations.SteppingGranularity do
3030
def instruction, do: "instruction"
3131

3232
@doc false
33-
@spec schematic() :: Schematic.t()
33+
@spec schematic() :: SchematicV.t()
3434
def schematic() do
3535
oneof([
3636
"statement",

apps/debug_adapter/lib/protocol/dap/events.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# codegen: do not edit
22
defmodule GenDAP.Events do
3-
import Schematic
3+
import SchematicV
44

55
def new(event) do
66
unify(

apps/debug_adapter/lib/protocol/dap/events/breakpoint_event.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GenDAP.Events.BreakpointEvent do
77
Message Direction: adapter -> client
88
"""
99

10-
import Schematic, warn: false
10+
import SchematicV, warn: false
1111

1212
use TypedStruct
1313

@@ -38,7 +38,7 @@ defmodule GenDAP.Events.BreakpointEvent do
3838
end
3939

4040
@doc false
41-
@spec schematic() :: Schematic.t()
41+
@spec schematic() :: SchematicV.t()
4242
def schematic() do
4343
schema(__MODULE__, %{
4444
:seq => int(),

0 commit comments

Comments
 (0)