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

Name
Description

Gets the description for a given variable, if it exists.

Gets the mapping of instruction indices to named labels found in the node.

Gets the user-facing string for a given key from the code dump helper's string table.

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.

Contains the results of parsing each input of the compilation.

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

Was this helpful?