Table of Contents

Class CompilationContext

Namespace
Dassie.Compiler
Assembly
Dassie.Compiler.dll

Represents the context of a Dassie compilation, including source files to compile and configuration.

public class CompilationContext
Inheritance
CompilationContext
Inherited Members
Extension Methods

Constructors

CompilationContext(IEnumerable<SourceDocument>, DassieConfig)

Creates a new instance of the CompilationContext type.

public CompilationContext(IEnumerable<SourceDocument> documents, DassieConfig config)

Parameters

documents IEnumerable<SourceDocument>

The source documents to include in the compilation.

config DassieConfig

Configuration for the current compilation.

Properties

Configuration

Configuration for the current compilation.

public DassieConfig Configuration { get; }

Property Value

DassieConfig

Documents

The source documents to compile.

public IEnumerable<SourceDocument> Documents { get; }

Property Value

IEnumerable<SourceDocument>