dmd.cond

Evaluate compile-time conditionals, such as static if version and debug.

Specification: Conditional Compilation

Members

Classes

DVCondition
class DVCondition
DebugCondition
class DebugCondition
StaticForeach
class StaticForeach

Implements common functionality for StaticForeachDeclaration and StaticForeachStatement This performs the necessary lowerings before dmd.statementsem.makeTupleForeach can be used to expand the corresponding static foreach declaration or statement.

StaticIfCondition
class StaticIfCondition
VersionCondition
class VersionCondition

Node to represent a version condition

Enums

Include
enum Include

Functions

findCondition
bool findCondition(Identifiers* ids, Identifier ident)

Find ident in an array of identifiers.

Meta