Namespace RDCore.SDK.Platform.Protocol
Classes
- AnalyzeSessionParams
Request for
rdcore/session/analyze: a client asks the language server to analyze a module it supplies and report what is wrong with it, without running anything.
- AnalyzeSessionResult
What the platform found in the module.
- ArrayBoundDescriptor
The bounds of one dimension of a fixed-size array.
- ArrayDescriptor
What an array declaration says beyond its element type (MS-VBAL §5.2.3.1.3): whether it is fixed-size, and the bounds it was declared with.
- CompileErrorDto
A compile error, as it travels: what a diagnostics extension needs to say it.
- ConstantDescriptor
A transport-friendly projection of a
Constdeclaration — a module-levelVBConstantMemberSymbolor a procedure-localVBLocalConstantSymbol.
- ConversionFactDto
A ConversionFact, as it travels.
- DeclarationFactDto
A DeclarationFact, as it travels.
- DefineSymbolsParams
Request for
rdcore/host/symbols/define: the language server sends the environment host the member symbols one workspace module declares, as descriptors. The host reconstructs a runtime Symbol from each, resolves its declared type name against its own session, and defines it in the session symbol table.
- DefineSymbolsResult
Result of an
rdcore/host/symbols/definerequest.
- DefinitionDescriptor
A transport-friendly projection of one
SymbolDefinition— a single declaration site of a member declared in more than one conditional-compilation branch.
- DiagnoseDocumentPayload
The System.Text.Json payload carried in Json.
- DiagnoseDocumentRequest
Request for
rdcore/diagnostics/document: the language server hands a diagnostics-provider extension everything it needs to analyze one document and asks for the diagnostics it finds.
- DiagnoseDocumentResponse
Response to
rdcore/diagnostics/document: the diagnostics a provider found, already projected to LSP Diagnostics (code,codeDescriptionhelp URL, and structureddata), plus the source version echoed back for the language server's staleness gate.
- DidRenameWorkspaceFilesParams
workspace/didRenameFiles(LSP 3.17 §Workspace, DidRenameFiles Notification): a client renamed or moved files or folders.
- DiscardSessionParams
Request for
rdcore/session/discard: a client asks the language server to take a module it supplied out of the platform's runtime session.
- DiscardSessionResult
What taking a module out of the session took out. The same result answers both hops of the request.
- DocumentDiagnosticPullParams
textDocument/diagnostic(LSP 3.17 §Document Diagnostics), as a client of the platform sends it: the request an editor pulls the diagnostics of a document with, whose report is read as a DocumentDiagnosticPullReport.
- DocumentDiagnosticPullReport
The report a DocumentDiagnosticPullParams is answered with: a full one, with the diagnostics, or an unchanged one, without.
- ExecuteSessionParams
Request for
rdcore/session/execute: a client asks the language server to run one procedure of a module it supplies.
- ExecuteSessionResult
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.
- ExpressionFactDto
An ExpressionFact, as it travels.
- ExternalDescriptor
The
Declare-statement metadata of an external member.
- HostBreakpoint
A breakpoint that was set.
- HostBreakpointLine
A breakpoint asked of the host: a line, whether it is on, and the condition it waits on.
- HostDebugAck
What a request about the program that is being debugged answers when it has no result of its own.
- HostDebugBreakpointsParams
Request for
rdcore/host/debug/breakpoints: sets the lines of a module a program that runs under a debugger waits at before it runs them. Replaces the breakpoints the module had.
- HostDebugBreakpointsResult
The breakpoints that were set, in the order they were asked for.
- HostDebugErrorBreakParams
Request for
rdcore/host/debug/errorBreak: says which run-time errors a program under a debugger waits at, where they are raised - before any handler has caught them or anything has been unwound.
- HostDebugEvaluateParams
Request for
rdcore/host/debug/evaluate: the value of an expression in an activation of the program that waits, as if it were written in the procedure it is an activation of, at the place it waits at.
- HostDebugEvaluateResult
What an expression came to.
- HostDebugExecuteParams
Request for
rdcore/host/debug/execute: runs a statement in an activation of the program that waits, as if it were written in the procedure that activation is of - the answer to a line typed in the immediate window of a procedure that is stopped.
- HostDebugGotoParams
Request for
rdcore/host/debug/goto: moves the program counter of the activation the program waits in (Set Next Statement), so that it goes on from there when it is resumed and not from where it stopped. Nothing runs.
- HostDebugGotoResult
Where a program that waits goes on from, after a request to move it.
- HostDebugPauseParams
Request for
rdcore/host/debug/pause: stops a program that is running, at the next instruction, so that it waits there. The request that is running the program answers Suspended.
- HostDebugResumeParams
Request for
rdcore/host/debug/resume: goes on with a program that was run under a debugger and waits where it stopped.
- HostDebugStackParams
Request for
rdcore/host/debug/stack: the activations of the program that waits, innermost first.
- HostDebugStackResult
The call stack of a program that waits.
- HostDebugTerminateParams
Request for
rdcore/host/debug/terminate: ends a program that is running or waits. Its variables stay, as they do when a program is stopped, unless Wipe says they go.
- HostDebugVariablesParams
Request for
rdcore/host/debug/variables: the variables of an activation of the program that waits, or the parts of one of them.
- HostDebugVariablesResult
The variables that were asked for.
- HostDiscardParams
Request for
rdcore/host/discard: the language-server side of DiscardSessionParams, addressed to the component that owns the session.
- HostExecuteParams
Request for
rdcore/host/execute: the language-server side of ExecuteSessionParams, addressed to the component that owns the runtime session.
- HostExecutePayload
The System.Text.Json payload carried in Json.
- HostInputBoxParams
Request
rdcore/host/interaction/inputBox: the environment host asks the language server to have a program'sInputBoxanswered by the client.
- HostMessageBoxParams
Request
rdcore/host/interaction/msgBox: the environment host asks the language server to have a program'sMsgBoxanswered by the client.
- HostOutputNotification
Notification
rdcore/host/output: lines a program printed, said as they are printed instead of with the answer to the request that runs it.
- HostPeekParams
Request for
rdcore/host/memory/peek: the language-server side of PeekSessionParams, addressed to the component that owns the session.
- HostPokeParams
Request for
rdcore/host/memory/poke: the language-server side of PokeSessionParams, addressed to the component that owns the session.
- HostProjectReloadParams
Request for
rdcore/host/project/reload: the language server asks the component that owns the runtime session to compose it again from the project file as it is now (ProjectReload).
- HostProjectReloadResult
What composing the runtime session again did.
- HostSemanticsParams
Request for
rdcore/host/semantics: the language server asks the environment host what the static pass found out about the code it holds.
- HostSemanticsResult
The models the host answers with.
- HostSessionStatusParams
Request for
rdcore/host/session/status: the language-server side of SessionStatusParams, addressed to the component that owns the session.
- HostStackFrame
One activation of a procedure.
- HostVariable
A variable, or a part of one.
- InputBoxRequestParams
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.
- LocalDescriptor
A transport-friendly projection of a
VBLocalVariableSymbol— oneDimorStaticof a procedure.
- MessageBoxRequestParams
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.
- ModuleSemanticsDto
A ModuleSemanticModel, as it travels.
- OperatorFactDto
An OperatorFact, as it travels: an operation of an operator, or the access of a member (MemberAccessFact).
- ParameterDescriptor
A transport-friendly projection of a
VBParameterSymbol.
- ParseDocumentParams
The parameter object for a
ParseDocumentCommand. The[Method]attribute lets the JSON-RPC layer infer the request method when the caller sends this by type.
- ParseTokensParams
Request for
rdcore/parser/tokens: the language server asks the parsing server what the tokens of a text are.
- ParseTokensResult
The tokens of a text, in the order they are in it.
- PeekSessionParams
Request for
rdcore/session/memory/peek: a client reads one byte of the runtime session's memory.
- PeekSessionResult
What was at the address.
- PlatformInitializeParams
Request: the caller tells the child what it expects; sent by ChildConnection after LSP init.
- PlatformInitializeResult
Response: what the child actually is and provides.
- PlatformJson
System.Text.Json (de)serialization for rich platform payloads that ride a JSON-RPC method as an opaque string.
- PlatformJsonEnvelope
A JSON-RPC request or response body whose real payload is a System.Text.Json string (see PlatformJson). Flat by design so the transport's own serializer round-trips it.
- PokeSessionParams
Request for
rdcore/session/memory/poke: a client writes one byte of the runtime session's memory.
- PokeSessionResult
Whether the byte went in.
- ProcedureSemanticsDto
A ProcedureSemanticModel, as it travels.
- RDCoreInitializationOptions
What a client says of itself to a server in the
initializationOptionsof the LSPinitializerequest - the part of the protocol that exists for exactly this: the settings of a server that no standard capability describes.
- RDCoreNotificationHandler<TNotification>
The base class for a platform protocol JSON-RPC notification.
- RDCorePlatformHandshake
The non-LSP handshake that follows the LSP
initialize/initializedexchange on a platform connection: advertised capabilities become provided ones. Keeps the LSP layer pure LSP.
- RDCoreRequestHandler<TRequest, TResponse>
The base class for a platform protocol JSON-RPC request.
- RuntimeErrorDto
A run-time error that code is guaranteed to raise, as it travels.
- RuntimeFactsDto
A RuntimeFacts, as it travels.
- SemanticsPayload
The semantic facts of one or more modules, as they travel (Json).
- 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.
- SessionCommandCompletion
A command of a client that is being typed at its prompt: the verb, which the client registered, and its arguments as they are typed.
- SessionCommandsParams
Request for
rdcore/session/commands: a client registers the verbs of its own commands with the language server, described (VerbDescriptor), so that what is typed after one at its prompt is completed as its descriptor says.
- SessionCommandsResult
What the language server made of the verbs a client registered.
- SessionCompletionParams
Request for
rdcore/session/completion: a client asks the language server what can be written at a position of a module it supplies - the completion list of a line typed at a prompt.
- SessionDebugBreakpointsParams
Request for
rdcore/session/debug/breakpoints: sets the lines of a module that a program under a debugger waits at. The language-server side of HostDebugBreakpointsParams.
- SessionDebugEvaluateParams
Request for
rdcore/session/debug/evaluate: the value of an expression, written as text, in an activation of the program that waits. The language server parses it and has the host evaluate it. The language-server side of HostDebugEvaluateParams.
- 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. The language server parses it and has the host run it. The language-server side of HostDebugExecuteParams.
- SessionDebugGotoParams
Request for
rdcore/session/debug/goto: moves the point the program that waits goes on from. The language-server side of HostDebugGotoParams.
- SessionDebugPauseParams
Request for
rdcore/session/debug/pause: stops the program that is running, at the next instruction, so that it waits there. The request that is running the program answers Suspended. The language-server side of HostDebugPauseParams.
- 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. The language-server side of HostDebugResumeParams.
- SessionDebugStackParams
Request for
rdcore/session/debug/stack: the activations of the program that waits, innermost first. The language-server side of HostDebugStackParams.
- SessionDebugTerminateParams
Request for
rdcore/session/debug/terminate: ends the program that is running or waits. The language-server side of HostDebugTerminateParams.
- SessionDebugVariablesParams
Request for
rdcore/session/debug/variables: the variables of an activation of the program that waits, or the parts of one of them. The language-server side of HostDebugVariablesParams.
- SessionDiagnostic
One finding, flattened for a client that renders lines of text rather than editor decorations.
- SessionInputBoxParams
Request
rdcore/session/interaction/inputBox: the language server asks a client that said it shows dialogs (SessionInteraction) to answer a program'sInputBox.
- SessionMemoryStatus
A transport-friendly projection of SessionMemoryInfo.
- SessionMessageBoxParams
Request
rdcore/session/interaction/msgBox: the language server asks a client that said it shows dialogs (SessionInteraction) to answer a program'sMsgBox.
- SessionSignatureHelpParams
Request for
rdcore/session/signatureHelp: a client asks the language server what the call being written at a position of a module it supplies takes - the signature help of a line typed at a prompt.
- 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.
- StatementFactDto
A StatementFact, as it travels.
- SymbolDescriptor
A transport-friendly projection of one declared member Symbol. Declared types travel as names, not resolved
VBTypes — the environment host is the resolution authority.
- SymbolDescriptorReader
Reconstructs runtime member Symbols from the descriptors carried by a DefineSymbolsParams. The inverse of the language server's descriptor projection; one trivial method per SymbolDescriptorKind, mirroring the language server's
SymbolBuilder. Declared types are bound through a caller-supplied resolver so the same call path binds real types once the environment host composes a project/library resolver — a name the resolver returnsnullfor stays VBUnknownType.
- WorkspaceFileRename
A file or folder a client renamed (LSP 3.17
FileRename).
Enums
- ExecutionOutcome
How a run ended.
- HostVariableScope
Which variables of a frame.
- SessionDiagnosticSeverity
How bad a SessionDiagnostic is. Mirrors LSP's own severities so a client that has an editor and a client that has a prompt rank the same finding the same way.
- SymbolDescriptorKind
The member-symbol kinds a SymbolDescriptor can carry. Mirrors the subset of MemberKind the language server's AST symbol provider emits, split so
Propertyaccessors andEnum/Typemembers each map to one runtime symbol type.