Editor

Editor

12 members

What an editor asks the compiler for: diagnostics, completion and hover, at a source position.

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

HostExport Type
One export of a shader module, as the host sees it.
hostFace Function
Compute the host face of one shader module: which exports a host can call (Rule 8.20), their host types (Rule 8.21), the host view tsc reads, and the generated module a bundler reads, which runs the CPU tier's code at f32 precision (Rule 11.7).
HostFace Interface
The host face of one shader module.
HostFaceOptions Interface
How hostFace is called.
TypeshadeCompletionItem Interface
Completion item exposed by the Typeshade language layer.
TypeshadeDiagnostic Interface
Compiler diagnostic enriched with the source range and span that produced it.
TypeshadeHover Interface
Hover documentation and source span returned by the language layer.
TypeshadeLanguageService Class
Provides Typeshade diagnostics, completion, hover, and position mapping for editor integrations.
TypeshadeLanguageServiceOptions Interface
Configuration for a Typeshade language-service instance.
TypeshadePosition Interface
Zero-based editor position: line and character both start at 0, following the Language Server Protocol convention.
TypeshadeRange Interface
A zero-based, half-open source range [start, end), following the LSP convention.
TypeshadeTextSpan Interface
UTF-16 source span used to map Typeshade information back into an editor.

Edit this page Report a problem