Parser

While we already have a parser in libd, we cannot use it here. This is because libd's parser is meant to validate that the source is well a formed D program. However, we want to be able to format even incomplete programs as part of the developper's process.

This parser, on the other hand, is meant to recognize common patterns in the language, without ensuring that they are indeed correct.

Constructors

this
this(Position base, Context context)
Undocumented in source.

Public Imports

source.context
public import source.context;
Undocumented in source.

Members

Functions

parse
Chunk[] parse()
Undocumented in source.

Meta