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

Remarks

Instances of this struct are used with Compile(CompilationJob) to produce CompilationResult objects.

Enums

Name
Description

The type of compilation that the compiler will do.

Fields

Name
Description

The type of compilation to perform.

The declarations for variables and functions.

The File structs that represent the content to parse..

The Library that contains declarations for functions.

Methods

Name
Description

Creates a new CompilationJob using the contents of a collection of files.

Creates a new CompilationJob using the contents of a collection of files.

Creates a new CompilationJob using the contents of a string.

Properties

Name
Description

A cancellation token that can be used to signal that the compilation should be cancelled.

Gets or sets the version of the Yarn language.

The collection of type declarations that should be imported and made available to the compiler, prior to compilation.

The declarations for variables.

Structs

Name
Description

Represents the contents of a file to compile.

Last updated

Was this helpful?