fluid.module_view

moduleView is a work-in-progress component used to display an overview of a module.

Warning: This module is unstable. Significant changes may be made without prior warning.

At the present moment, interactive playground functionality is disabled on Windows, because of how troublesome it is to get it to run.

This module is not enabled, unless additonal dependencies, fluid-tree-sitter and fluid-tree-sitter:d are also compiled in.

Members

Functions

dlangInput
CodeInput dlangInput(void delegate() @(safe) submitted)

Creates a CodeInput with D syntax highlighting.

exampleView
Frame exampleView(DlangCompiler compiler, CodeInput input, Theme contentTheme)
Frame exampleView(DlangCompiler compiler, Rope prefix, string value, Rope suffix, Theme contentTheme)

Produce an example.

moduleViewFile
Frame moduleViewFile(Params params, DlangCompiler compiler, string filename, Theme contentTheme)

Load the module source from a file.

moduleViewSource
Frame moduleViewSource(Params params, DlangCompiler compiler, string source, Theme contentTheme)

Create an overview display of the given module.

Static variables

fluidExtraFlags
string[] fluidExtraFlags;
Undocumented in source.
fluidExtraFlagsLDC
string[] fluidExtraFlagsLDC;
Undocumented in source.
fluidImportPaths
string[] fluidImportPaths;
Undocumented in source.

Structs

DlangCompiler
struct DlangCompiler

Provides information about the companion D compiler to use for evaluating examples.

Variables

error
TSQueryError error;
Undocumented in source.
errorOffset
uint errorOffset;
Undocumented in source.
language
auto language;
Undocumented in source.
query
auto query;
Undocumented in source.

Meta