diet.defs

Contains common types and constants.

Members

Aliases

DietParserException
alias DietParserException = Exception

Thrown by the parser for malformed input.

Functions

enforcep
void enforcep(bool cond, string text, Location loc)

Throws an exception if the condition evaluates to false.

format
string format(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
formattedWrite
string formattedWrite(T buffer, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(T dst, S content)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

dietOutputRangeName
enum dietOutputRangeName;

The name of the output range variable within a Diet template.

Meta