Table of Contents

Namespace RDCore.SDK.Platform.Protocol

Classes

DebugAck

What a request about the program that is being debugged answers when it has no result of its own.

DebugBreakpoint

A breakpoint that was set.

DebugBreakpointsResult

The breakpoints that were set, in the order they were asked for.

DebugEdit

An edit made while a program waits that is not applied to it.

DebugEditStatusResult

The edits made while a program waits that are not applied to it.

DebugEvaluateResult

What an expression came to.

DebugGotoResult

Where a program that waits goes on from, after a request to move it.

DebugStackFrame

One activation of a procedure.

DebugStackResult

The call stack of a program that waits.

DebugVariable

A variable, or a part of one.

DebugVariablesResult

The variables that were asked for.

DiscardResult

What taking a module out of the session took out. The same result answers both hops of the request.

ExecuteResult

The result of a run. The same result answers both hops — the language server passes the host's answer back to the client unchanged, except for a parse that never reached the host at all.

ExecuteStackFrame

One activation of the call stack a run-time error was raised on.

FakeAction

What a call a FakeRow matches does.

FakeArgumentMatcher

What one argument of a call must be for a FakeRow to match it.

FakeAssignment

A ByRef argument that a faked call writes.

FakeInvocation

Which calls of its target a FakeRow matches.

FakeInvocationRecord

One call of a target a row of the fakes names: what a test verifies a call against.

FakeRow

One fake: which calls of a target it matches, and what it does with them.

FakesTable

The fakes of a run: which external calls are answered in place of running, and how.

FakesTableDelta

A change to a run's fakes while it runs: what a test written in VBA sets up (Fakes.MsgBox.Returns vbYes) reaches the table this way, with the answer of the call that set it up.

InputBoxParams

What a program asks for in an InputBox, as it travels to whoever asks.

InputBoxResult

What was typed in an InputBox, that it was cancelled, or that nobody was asked.

ListSettingValueParams

Request rdcore/settings/listValue (ListSettingValue): asks the client to add an item to the list of a setting, or to remove one from it, in the user's settings of the platform or in the settings of a workspace. The client answers a ListSettingValueResult.

ListSettingValueResult

What a client did with an item it was asked to add to a list, or to remove from it.

MessageBoxParams

What a program shows in a MsgBox, as it travels to whoever shows it.

MessageBoxResult

Which button closed a MsgBox, or that nobody was asked.

PeekResult

What was at the address.

PlatformInitializeParams

Request for rdcore/platform/initialize (PlatformInitialize), the non-LSP handshake that follows LSP's initialize/initialized exchange and keeps the LSP layer pure LSP: the caller tells the component it connected to what it expects, once LSP's initialize is answered; answered a PlatformInitializeResult. A client of the language server sends it as the platform's own components do of one another.

PlatformInitializeResult

Response: what the component actually is and provides.

PokeResult

Whether the byte went in.

RefactorAnswer

The user's answer to one choice.

RefactorApplyParams

Applies a refactoring of a document's range with its user's answers (rdcore/refactor/apply), and is answered the edit it makes (RefactorWorkspaceEdit). A refactoring that is refused, or whose answers it refuses, is answered with an error (RequestFailed, -32803) whose message says why, in the language of the user interface.

RefactorChoice

One thing a refactoring asks its user, with its default.

RefactorDocumentEdit

The edits of one document (LSP 3.17 §TextDocumentEdit).

RefactorIdentifierCheckParams

Asks the language server about an identifier the user is typing in answer to a refactoring's Name choice, before the refactoring is applied (rdcore/refactor/checkIdentifier): whether it can be declared where the refactoring declares it, and what it would hide. It is answered with the notices (RefactorIdentifierCheckResult), which a dialog shows beside the identifier as its user types it.

RefactorIdentifierCheckResult

What the identifiers a user typed for a refactoring raise: one the code cannot declare where the refactoring declares it, or one that hides another declaration.

RefactorItem

One item of a list a refactoring asks about: a parameter, a member.

RefactorItemAnswer

The user's answers for one item of a list.

RefactorNotice

Why a refactoring is refused, what it would change of what the code does, or what the user should know of it.

RefactorOption

One option of a choice.

RefactorPrepareParams

Asks the language server what a refactoring of a document's range would ask its user, and what it would refuse or change, before it is applied (rdcore/refactor/prepare).

RefactorPrepareResult

What a refactoring asks its user, with the answer it takes by default to each question, and what it refuses or would change.

RefactorTextEdit

One edit of a document's text (LSP 3.17 §TextEdit).

RefactorWorkspaceEdit

What a refactoring changes in the workspace (LSP 3.17 §WorkspaceEdit): the documents it creates, then the edits of each document, which a client applies as one change.

RubberduckIndenterSettingsApplyParams

Request rdcore/formatting/indenterSettings/apply (RubberduckIndenterSettingsApply): asks the client to take the indenter settings it read as its own settings. The client answers a RubberduckIndenterSettingsApplyResult.

RubberduckIndenterSettingsApplyResult

What a client did with the settings it was asked to apply.

RubberduckIndenterSettingsParams

Request rdcore/formatting/indenterSettings (RubberduckIndenterSettings): asks the client for the indenter settings its user had in Rubberduck, as Rubberduck has them. The client answers a RubberduckIndenterSettingsResult.

RubberduckIndenterSettingsResult

What a client read of the indenter settings of Rubberduck, as Rubberduck has them: { "source": "RubberduckConfig", "values": { "IndentSpaces": "4" }, "tabWidth": null }.

RunValue

A constant on the wire: the value of a data row's argument, of a fake's answer, or of an argument a faked call was given.

SemanticsDescribeParams

The parameters of rdcore/semantics/describe: a position of a document, which the language server describes the name or expression written at.

SemanticsOutlineParams

The parameters of rdcore/semantics/outline: a document, whose module the language server outlines.

SessionBreakpointLine

A breakpoint as a client asks for it: a line, whether it is on, and the condition it waits on, as the person typed it.

SessionDebugBreakpointsParams

Request for rdcore/session/debug/breakpoints: sets the lines of a module that a program under a debugger waits at, replacing the breakpoints it had; answered a DebugBreakpointsResult.

SessionDebugEditStatusParams

Request for rdcore/session/debug/editStatus: which edits made while a program waits are not applied to it, and why; answered a DebugEditStatusResult.

SessionDebugErrorBreakParams

Request for rdcore/session/debug/errorBreak: sets which run-time errors a program under a debugger (Debug) waits at, where they are raised; answered a DebugAck.

SessionDebugEvaluateParams

Request for rdcore/session/debug/evaluate: the value of an expression, written as text, in an activation of the program that waits; answered a DebugEvaluateResult. The language server parses it and has the host evaluate it.

SessionDebugExecuteParams

Request for rdcore/session/debug/execute: runs a statement, written as text, in an activation of the program that waits - the answer to a line typed in the immediate window of a procedure that is stopped; answered a DebugEvaluateResult with no value. The language server parses it and has the host run it.

SessionDebugGotoParams

Request for rdcore/session/debug/goto: moves the point the program that waits goes on from (Set Next Statement), within the procedure it waits in; answered a DebugGotoResult. Nothing runs.

SessionDebugPauseParams

Request for rdcore/session/debug/pause: stops the program that is running, at the next instruction, so that it waits there; answered a DebugAck. The request that is running the program answers Suspended.

SessionDebugResumeParams

Request for rdcore/session/debug/resume: a client asks the language server to go on with the program it ran under a debugger (Debug) that waits where it stopped, and is answered an ExecuteResult as of the next time the program waits or is over.

SessionDebugStackParams

Request for rdcore/session/debug/stack: the activations of the program that waits, innermost first; answered a DebugStackResult.

SessionDebugStoppedParams

Notification rdcore/session/debug/stopped: the language server tells a client that expects the SessionStops capability that the handler of an event stopped while no program runs (a Stop, a breakpoint, a failed Debug.Assert, an error a debugger waits at), and waits where it stopped.

SessionDebugTerminateParams

Request for rdcore/session/debug/terminate: ends the program that is running or waits; answered a DebugAck. Its variables stay, as they do when a program is stopped, unless Wipe says they go.

SessionDebugVariablesParams

Request for rdcore/session/debug/variables: the variables of an activation of the program that waits, or the parts of one of them; answered a DebugVariablesResult.

SessionDiscardParams

Request for rdcore/session/discard: a client asks the language server to take a module it supplied out of the platform's runtime session.

SessionExecuteParams

Request for rdcore/session/execute: a client asks the language server to run one procedure of a module it supplies.

SessionInputBoxParams

Request rdcore/session/interaction/inputBox, which a client handles: the language server asks a client that said it shows dialogs (the SessionInteraction capability) to answer a program's InputBox, and is answered an InputBoxResult.

SessionMemoryStatus

The allocation and fragmentation statistics of the runtime session's memory space, as plain numbers: the computed ones too, so that a client renders them without deriving anything.

SessionMessageBoxParams

Request rdcore/session/interaction/msgBox, which a client handles: the language server asks a client that said it shows dialogs (the SessionInteraction capability) to answer a program's MsgBox, and is answered a MessageBoxResult.

SessionPeekParams

Request for rdcore/session/memory/peek: a client reads one byte of the runtime session's memory.

SessionPokeParams

Request for rdcore/session/memory/poke: a client writes one byte of the runtime session's memory.

SessionStatusParams

Request for rdcore/session/status: a client asks the language server for the state of the platform's runtime session.

SessionStatusResult

The state of the platform's runtime session. The same result answers both hops of the status request: the language server passes the host's answer through unchanged.

Enums

DebugEditKind

What an edit made while a program waits is to it, when it is not applied.

DebugVariableScope

Which variables of a frame.

ExecutionOutcome

How a run ended.

FakeActionKind

What a matched call does.

FakeInvocationKind

The kind of a FakeInvocation: every call of the target, or the nth.

FakeMatch

How a FakeArgumentMatcher compares an argument.

RefactorChoiceKind

What a choice of a refactoring is made of.

RefactorNoticeKind

What a notice of a refactoring says.

RubberduckIndenterSettingsSource

Where the indenter settings a client read were found.

SettingScope

Where a setting's value is kept, which says what it applies to.