Class ModuleSemanticsDto
A ModuleSemanticModel, as it travels.
public record ModuleSemanticsDto : IEquatable<ModuleSemanticsDto>
- Inheritance
-
ModuleSemanticsDto
- Implements
- Inherited Members
Constructors
ModuleSemanticsDto(Uri, bool?, ImmutableArray<CompileErrorDto>, ImmutableArray<ProcedureSemanticsDto>, ImmutableArray<DeclarationFactDto>)
A ModuleSemanticModel, as it travels.
public ModuleSemanticsDto(Uri Module, bool? OptionExplicit, ImmutableArray<CompileErrorDto> DeclarationErrors, ImmutableArray<ProcedureSemanticsDto> Procedures, ImmutableArray<DeclarationFactDto> Declarations)
Parameters
ModuleUriThe address of the module.
OptionExplicitbool?Whether the module states
Option Explicit; not issued (null) in a language that has no such directive.DeclarationErrorsImmutableArray<CompileErrorDto>What is wrong with what the module declares.
ProceduresImmutableArray<ProcedureSemanticsDto>The model of each procedure of the module.
DeclarationsImmutableArray<DeclarationFactDto>What is known of how the module's declarations are used.
Properties
DeclarationErrors
What is wrong with what the module declares.
public ImmutableArray<CompileErrorDto> DeclarationErrors { get; init; }
Property Value
Declarations
What is known of how the module's declarations are used.
public ImmutableArray<DeclarationFactDto> Declarations { get; init; }
Property Value
Module
The address of the module.
public Uri Module { get; init; }
Property Value
OptionExplicit
Whether the module states Option Explicit; not issued (null) in a language that has no such directive.
public bool? OptionExplicit { get; init; }
Property Value
- bool?
Procedures
The model of each procedure of the module.
public ImmutableArray<ProcedureSemanticsDto> Procedures { get; init; }
Property Value
Methods
From(ModuleSemanticModel)
Describes a model for the wire.
public static ModuleSemanticsDto From(ModuleSemanticModel model)
Parameters
modelModuleSemanticModelThe model of a module.