The OpenD Programming Language

MacroExpander

Undocumented in source.
class MacroExpander {
dstring delegate(dstring[])[dstring] functions;
dstring[dstring] variables;
Macro[dstring] macros;
string[string] includeFiles;
}

Members

Functions

expand
dstring expand(dstring src)

Performs the expansion

expand
string expand(string srcutf8)

Performs the expansion

setValue
void setValue(string key, string value)

This sets a variable inside the macro system

Meta