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 File structs that represent the content to parse..

The Library that contains declarations for functions.

The declarations for variables.

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.

Structs

Name
Description

Represents the contents of a file to compile.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.