Class CompilerCliOptions
Parsed CLI options for the compiler and VM.
public sealed class CompilerCliOptions
- Inheritance
-
CompilerCliOptions
- Inherited Members
Properties
Command
Gets the selected CLI command.
public CliCommand Command { get; init; }
Property Value
CompileOnly
Gets a value indicating whether compilation should stop before running the VM.
public bool CompileOnly { get; init; }
Property Value
EmitMode
Gets the emit mode selection.
public EmitMode EmitMode { get; init; }
Property Value
EmitRequested
Gets a value indicating whether an emit output was requested.
public bool EmitRequested { get; init; }
Property Value
Language
Gets the BCP-47-Sprachcode aus dem --lang-Parameter (Standard: "de").
public string Language { get; init; }
Property Value
ListCode
Gets a value indicating whether code listing should be printed.
public bool ListCode { get; init; }
Property Value
LongErrorMessages
Gets a value indicating whether long error messages are enabled.
public bool LongErrorMessages { get; init; }
Property Value
OutputPath
Gets the output path for emitted P-Code.
public string? OutputPath { get; init; }
Property Value
ShowApi
Gets a value indicating whether the documentation API should be shown.
public bool ShowApi { get; init; }
Property Value
ShowHelp
Gets a value indicating whether help text was requested.
public bool ShowHelp { get; init; }
Property Value
SourcePath
Gets the source path provided on the command line.
public string? SourcePath { get; init; }
Property Value
WriteOpcodesInListing
Gets a value indicating whether opcode numbers are included in listings.
public bool WriteOpcodesInListing { get; init; }