public Module parseModule(const(Token)[] tokens, string fileName, CAllocator allocator = null, void function(string, size_t, size_t, string, bool) messageFunction = null)
| tokens | the tokens parsed by std.d.lexer |
| fileName | the name of the file being parsed |
| messageFunction | a function to call on error or warning messages. The parameters are the file name, line number, column number, the error or warning message, and a boolean (true means error, false means warning). |