Skip to main content

Module request

Module request 

Source
Expand description

Requests, as marker types.

Enumsยง

HostParse
Plugin -> host. Parses a piece of text with the parser that takes files of an extension, e.g. a doc comment written in Markdown, while the plugin works on a request. The result is not normalized.
Initialize
Host -> plugin. Starts the session and exchanges capabilities.
Parse
Host -> plugin. Parses one source file into a document.
ParseTransformAll
Host -> plugin. Sent once between the two transform passes, to a plugin that collects: everything collected from all documents. The render/transform/each requests that follow omit it. The plugin may answer with documents it generates from that data (an index page, say), which join the site.
ParseTransformEach
Host -> plugin. First transform pass: gathers data from one document, e.g. its headings for a site-wide index.
Render
Host -> plugin. Renders one document to an output format.
RenderTransformAll
Host -> plugin. Sent once after every document is rendered, if the renderer asked for it ([RenderCapability::site]): returns site-wide files such as a sitemap.
RenderTransformEach
Host -> plugin. Second transform pass: rewrites one document, with the data collected from all documents.
Shutdown
Host -> plugin. Asks the plugin to finish outstanding work; it should then expect notification::Exit.