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) Translates a line of text based on the traits passed to the Diet parser.

Aliases

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