dparse.parser

Undocumented in source.

Members

Aliases

MessageDelegate
alias MessageDelegate = void delegate(string, size_t, size_t, string, bool)

Prototype for a custom parser message function or delegate. Parameters passed are a file name, a line, a column, a message and a bool that indicates if the message is a warning (false) or a if it's an error (true).

MessageFunction
alias MessageFunction = void function(string fileName, size_t line, size_t column, string message, bool isError)

Prototype for a custom parser message function or delegate. Parameters passed are a file name, a line, a column, a message and a bool that indicates if the message is a warning (false) or a if it's an error (true).

Classes

Parser
class Parser

D Parser.

Functions

parseModule
Module parseModule(ParserConfig parserConfig)
parseModule
Module parseModule(const(Token)[] tokens, string fileName, RollbackAllocator* allocator, F messageFuncOrDg, uint* errorCount, uint* warningCount)

Structs

ParserConfig
struct ParserConfig

Parser configuration struct

Meta