CompilationResult

Class in Yarn.Compiler

Inherits from System.Object

Summary

The result of a compilation.

public class CompilationResult : ICodeDumpHelper

Remarks

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

Methods

Properties

Name
Description

Gets a value indicating whether this compilation result contains any error diagnostics.

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 variable declarations that were found during compilation.

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

Gets the collection of file-level tags found in the source code.

Gets the compiled Yarn program that the Compiler produced.

Gets the debugging information for this compiled project.

Gets a dictionary mapping line IDs to StringInfo objects.

Gets a collection of any types that were defined by the user in the input (for example, user-defined enum types.)

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.