CompilationJob
Struct in Yarn.Compiler
Inherits from System.ValueType
Summary
An object that contains Yarn source code to compile, and instructions on
how to compile it.
public struct CompilationJob
Instances of this struct are used with Compile(CompilationJob) to produce CompilationResult objects.
Classes
| Name | Description |
|---|
| File | Represents the contents of a file to compile. |
Enums
| Name | Description |
|---|
| Type | The type of compilation that the compiler will do. |
Fields
Methods
Properties
| Name | Description |
|---|
| CancellationToken | A cancellation token that can be used to signal that the compilation should be cancelled. |
| Files | The File structs that represent the content to parse.. |
| LanguageVersion | Gets or sets the version of the Yarn language. |
| TypeDeclarations | The collection of type declarations that should be imported and made available to the compiler, prior to compilation. |
| VariableDeclarations | The declarations for variables. |