gendoc.misc

Misc types or functions
Provides versatile misc functions.
enum MacroType: int;
str
$xxx, ${xxx}
expr
$(xxx)
T expandMacro(bool keepUnmatched, T, Func)(in T str, Func mapFunc)
if(isSomeString!T && isCallable!Func && is(ReturnType!Func : bool) && (ParameterTypeTuple!Func.length >= 1) && is(T : ParameterTypeTuple!Func[0]) && ((ParameterStorageClassTuple!Func[0] & ParameterStorageClass.ref_) == ParameterStorageClass.ref_));
T expandMacro(bool keepUnmatched, T, Func)(in T str, Func mapFunc)
if(isSomeString!T && isCallable!Func && is(ReturnType!Func : T) && (ParameterTypeTuple!Func.length >= 1) && is(T : ParameterTypeTuple!Func[0]));
T expandMacro(bool keepUnmatched, T, MAP)(in T str, MAP map)
if(isSomeString!T && is(typeof(() { auto p = T.init in map; T tmp = *p; } )));
alias expandMacro = __lambda5;
Expands macro variables contained within a str