2.4 (Current)
Search
K
Links

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
Type
The type of compilation that the compiler will do.

Fields

Name
Description
The type of compilation to perform.
Files
The File structs that represent the content to parse..
Library
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
File
Represents the contents of a file to compile.