d.parser.declaration

Undocumented in source.

Members

Functions

parseAggregate
auto parseAggregate(TokenRange trange)

Parse a set of declarations.

parseDeclaration
Declaration parseDeclaration(TokenRange trange)

Parse a declaration

parseInitializer
auto parseInitializer(TokenRange trange)

Parse Initializer

parseParameters
auto parseParameters(TokenRange trange, bool isVariadic)

Parse function and delegate parameters.

parseTypedDeclaration
Declaration parseTypedDeclaration(TokenRange trange, Location location, StorageClass stc)

Parse type identifier ... declarations. Function/variables.

parseTypedDeclaration
Declaration parseTypedDeclaration(TokenRange trange, Location location, StorageClass stc, AstType type)

Parse a declaration when you already have its type.

Meta