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

NameDescription

The type of compilation that the compiler will do.

Fields

NameDescription

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

NameDescription

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

NameDescription

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.