vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Module diet.traits

Definitions to support customization of the Diet compilation process.

Functions

NameDescription
applyTraits(doc) Applies any transformations that are defined in the supplied traits list.
dietTraits() Marks a struct as a Diet traits container.
filter(input, filter, output)
translate(text, context) Translates a line of text based on the traits passed to the Diet parser.

Aliases

NameTypeDescription
CharacterSink @safe void delegate(in char[])
DietTraits DietTraits.impl!0 Extracts all Diet traits structs from a set of aliases as passed to a render function.
FilterCallback void delegate(in char[], @safe scope void delegate(in char[]))
SafeFilterCallback @safe void delegate(in char[], @safe scope void delegate(in char[]))
Authors
Copyright
License