MacroExpander.expandArguments

Expands "$+", "$0" - "$9" with argsn in text.

struct MacroExpander
static
expandArguments
in { assert (args.length != 1, "zero or more than 1 args expected"); }

Parameters

text
Type: cstring

The text to scan for argument placeholders.

args
Type: cstring[]

The first element, args[0], is the whole argument string and the following elements are slices into it.
The array is empty if there are no arguments.

Meta