CompilationResult

Struct in Yarn.Compiler

Inherits from System.ValueType

Summary

The result of a compilation.

public struct CompilationResult

Remarks

Instances of this struct are produced as a result of supplying a CompilationJob to Compile(CompilationJob) .

Properties

Name
Description

Gets a value indicating whether the compiler had to create line IDs for lines in the source code that lacked #line: tags.

Gets the collection of DebugInfo objects for each node in Program .

Gets the collection of Diagnostic objects that describe problems in the source code.

Gets the compiled Yarn program that the Compiler produced.

Gets a dictionary mapping line IDs to StringInfo objects.

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.