Table of Contents

Namespace RDCore.SDK.Workspace

Classes

BasicProgramText

The text of a program of the platform's BASIC: a .rdc file, and the module it is as far as the language is concerned.

DocClassTypeJsonConverter

Reads a DocClassType by its name or its number, and writes it by its name; a name or a number it does not have reads as Unknown.

DocumentHostClass

The class of a referenced library that a host's document is an object of (HostClassOf(DocClassType)).

ModuleAnnotations

Reads RD-VBA-only '@AnnotationName comment annotations off a module's raw source: the legacy-Rubberduck-style syntax the grammar already recognises (annotationList / annotation / annotationName), read here as plain text rather than off the AST.

ModuleFileText

The text of a module file as it is on disk: decoded in the encoding the file is written in, and written back in it, byte for byte where the text is not edited.

ModuleFileTextException

A module file's text that cannot be edited or written in the file's encoding; nothing is written.

ModuleHeader

Reads what a VBA module's header says about the module itself.

ModuleKinds

What kind of module a module of a project is: the one decision every side of the platform makes of it the same way - the environment host composing its session from the project file, and the language server composing the workspace it analyzes.

ModuleLoadFailures

What each module's last load failed with, so that what is said of a load is said once: a module that fails to load as it failed the last time - an editor sends a module to load again at every edit - is not reported again, and one that loads after it failed is reported once to load again.

ModuleName

Resolves a VBA module's programmatic name.

ProgramEntryPoint

Where a program of a project starts: the procedure a run of the project runs (Of(ProjectBuild?, IEnumerable<(VBModuleSymbol Module, IEnumerable<VBTypeMemberSymbol> Members)>)).

ProgramEntryPointResolution

The entry point of a project (Of(ProjectBuild?, IEnumerable<(VBModuleSymbol Module, IEnumerable<VBTypeMemberSymbol> Members)>)): the module and procedure its program starts at, or why it has none.

ProjectBuild

The build section of a .rdproj project (Build, RD-VBAL §2.2.3.1): what the project builds into, and where its program starts.

ProjectFile

The in-memory model of a workspace's .rdproj project file (RD-VBAL §2.2.3).

ProjectFileLoader

Loads a workspace's .rdproj ProjectFile from disk, read-only. Every platform component that needs the project structure (the language server's workspace services and the environment host's session composition) resolves the project through this service so there is a single deserialization path.

ProjectFileVersionJsonConverter

Reads a project file's Version whatever it is: a string as itself, a number as its text, and anything else as its JSON.

ProjectFileWriter

Writes a workspace's .rdproj ProjectFile to disk: the write counterpart of IProjectFileLoader. Used to scaffold a new workspace and (eventually) to persist edits a client makes to the project structure.

ProjectModuleKinds

Decides what a module of a project is, and reads its text, the way every side of the platform does: a client that shows a project's modules, such as an IDE's add-in, gets the answer the environment host and the language server get.

RDCoreFile

A file of a project that is not a module: a README.md, a licence, a picture (OtherFiles).

RDCoreFileJsonConverter

Reads an RDCoreFile from its path, or from an object with a RelativeUri; writes it as its path.

RDCoreModule

A module of a project: a source file, and what the project says of it that its text does not.

RDCoreModuleJsonConverter

Reads an RDCoreModule from its path, or from an object with a RelativeUri and a Super; writes it as its path unless it is a document module.

RDCoreProject

The workspace structure and project-level configuration declared by a .rdproj.

RDCoreReference

A library or project a project references (RD-VBAL §2.2.3.2).

SupportedLanguage

A language the platform serves: what it is called to a client, which files are written in it, and what the environment it runs in is like - which is what tells one dialect of the family from another.

SupportedLanguages

The languages the platform serves.

VbpImport

The project a VB6 project file makes, and what it could not carry over.

VbpImportNote

What an import of a VB6 project could not carry over to the .rdproj.

VbpImportText

What an import of a VB6 project asks its user, and says when it is not made - in the language of the reader, the current UI culture by default.

VbpProjectImporter

Makes a .rdproj project of a VB6 project file (.vbp): its name, its modules, classes and forms, the libraries it references, and its conditional compilation arguments.

WorkspacePaths

How the paths of a workspace are compared and read: the one place that says so, for the folders of a workspace, the projects that list files, and the documents that are loaded.

Interfaces

IProjectFileLoader

Loads a workspace's .rdproj ProjectFile from disk, read-only. Every platform component that needs the project structure (the language server's workspace services and the environment host's session composition) resolves the project through this service so there is a single deserialization path.

IProjectFileWriter

Writes a workspace's .rdproj ProjectFile to disk: the write counterpart of IProjectFileLoader. Used to scaffold a new workspace and (eventually) to persist edits a client makes to the project structure.

Enums

DocClassType

What a host's document is, whose code a document module is (MS-VBAL §4.2.1): the class the host has for it, whose members and events the module's object has.

ModuleFileTextFailure

Why a module file's text cannot be edited or written (ModuleFileText).

ModuleLoadChange

What a load of a module says that the one before it did not (Record(string, IReadOnlyList<string>)).

ProgramEntryPointRefusal

Why a project has no entry point (Of(ProjectBuild?, IEnumerable<(VBModuleSymbol Module, IEnumerable<VBTypeMemberSymbol> Members)>)).

ProjectFileSchemaMatch

How the format a project file says it is compares with the one the platform reads and writes (SchemaOf(string?)).

ProjectModuleKind

What a module of a project is, as the platform decides it: a standard module, a class module, or the code of a host's document.

ProjectOutputType

What a project builds into: a program, or a library (RD-VBAL §2.2.3.1).

VbpImportNoteKind

What an import of a VB6 project could not carry over to the .rdproj, and why.