CompilationContext

A group of settings relevant to the compilation process.

Constructors

this
this(CC parent = null)

Constructs a CompilationContext object.

Members

Functions

threadsafeTables
void threadsafeTables(bool safe)

Makes accessing the tables thread-safe.

Variables

acceptDeprecated
bool acceptDeprecated;

Allow deprecated symbols/features?

debugIds
cstring[hash_t] debugIds;

Set of debug identifiers.

debugLevel
uint debugLevel;

The debug level.

diag
Diagnostics diag;

Diagnostics object.

importPaths
cstring[] importPaths;

Import paths.

includePaths
cstring[] includePaths;

String include paths.

releaseBuild
bool releaseBuild;

Build release version?

tables
Tables tables;

Tables used by the Lexer and the semantic phase.

unittestBuild
bool unittestBuild;

Include unittests?

versionIds
cstring[hash_t] versionIds;

Set of version identifiers.

versionLevel
uint versionLevel;

The version level.

Meta