Class CompilationResult
Represents the result of compiling MuLang source code to portable IR.
public sealed class CompilationResult
- Inheritance
-
CompilationResult
- Inherited Members
Properties
Diagnostics
Gets the diagnostics produced by compilation.
public DiagnosticCollection Diagnostics { get; }
Property Value
IsSuccessful
Gets a value indicating whether compilation produced valid portable IR without errors.
public bool IsSuccessful { get; }
Property Value
LineMap
Gets the source line map.
public TextLineMap LineMap { get; }
Property Value
Program
Gets the compiled portable IR program, or null when compilation failed.
public IrProgram? Program { get; }
Property Value
SourceDocument
Gets the source document URI, when available.
public Uri? SourceDocument { get; }
Property Value
- Uri