vibe.d beta banner
get vibe.d
0.8.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
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[]))
DietTraitsDietTraits.impl!0Extracts all Diet traits structs from a set of aliases as passed to a render function.
FilterCallbackvoid delegate(const(char[]), scope @safe void delegate(const(char[])))
SafeFilterCallback@safe void delegate(const(char[]), scope @safe void delegate(const(char[])))
Authors
Copyright
License