CompileCommand

The compile command.

Members

Functions

importModule
Module importModule(cstring moduleFQNPath)

Imports a module and runs the first pass on it.

printMTree
void printMTree(Package pckg, cstring indent)

Prints the package/module tree including the root.

printMTree2
void printMTree2(Package pckg, cstring indent)

Prints the package/module tree excluding the root.

run
void run()

Executes the compile command.

runPass1
void runPass1(Module modul)

Runs the first pass on modul.

Static functions

printSymbolTable
void printSymbolTable(ScopeSymbol scopeSym, cstring indent)

Prints all symbols recursively (for debugging.)

Variables

binOutput
cstring binOutput;

Output destination.

filePaths
cstring[] filePaths;

Explicitly specified modules (on the command line.)

m32
bool m32;

Emit 32bit code.

m64
bool m64;

Emit 64bit code.

printModuleTree
bool printModuleTree;

Whether to print the module tree.

printSymbolTree
bool printSymbolTree;

Whether to print the symbol tree.

Inherited Members

From Command

verbose
bool verbose;

Verbose output.

log
void log(cstring format, ...)

Logs messages to stdout.

lzy
void lzy(lazy void logfunc)

Calls logfunc only when the verbose-flag is on.

run
void run()

Runs the command.

Meta