Skip to main content

Module decorators

Module decorators 

Source
Expand description

Decorators: declared, removable changes to the items of a pipeline level.

Each level shows a decorator its items as records, maps of string fields, and reads the decorated records back (docs/decorators.md lists the fields and what drop means at each level). A DecoratorSet is stored as Links Notation, one decorator per line, in the same canonical form the JavaScript runtime writes, so both runtimes share one corpus.

Structs§

Decorator
One decorator: the records of level that have every field of when get actions, in order.
DecoratorError
Why a decorator, a set or a decoration is refused.
DecoratorSet
An immutable set of decorators.

Enums§

DecoratorAction
One action of a decorator.
DecoratorLevel
The pipeline levels a decorator extends.

Constants§

DECORATOR_LEVELS
The pipeline levels a decorator extends, in pipeline order.

Functions§

decorator_record
Builds a record from (field, text) pairs.
record_field
The text of field in a decorated record, empty when absent.

Type Aliases§

DecoratorRecord
A record a decorator sees: field names and their texts.