diet.input

Contains common definitions and logic to collect input dependencies.

This module is typically only used by generator implementations.

Members

Properties

filesFromGroup
InputFile[] filesFromGroup [@property getter]

Converts a Group with alternating file names and contents to an array of InputFiles.

Structs

InputFile
struct InputFile

Encapsulates a single input file.

Templates

Group
template Group(A...)

Helper template to aggregate a list of compile time values.

collectFiles
template collectFiles(string root_file)
template collectFiles(string root_file, alias root_contents)

Using the file name of a string import Diet file, returns a list of all required files.

localAliasesMixin
template localAliasesMixin(int i, ALIASES...)

Returns a mixin string that makes all passed symbols available in the mixin's scope.

Meta