Class ProcedureSemanticsDto
A ProcedureSemanticModel, as it travels.
public record ProcedureSemanticsDto : IEquatable<ProcedureSemanticsDto>
- Inheritance
-
ProcedureSemanticsDto
- Implements
- Inherited Members
Constructors
ProcedureSemanticsDto(Uri, bool, ImmutableArray<CompileErrorDto>, ImmutableArray<ExpressionFactDto>, ReturnValueFact?, RuntimeFactsDto?, ImmutableArray<EmptiedControlReadFact>?, ImmutableArray<ArgumentFact>?)
A ProcedureSemanticModel, as it travels.
public ProcedureSemanticsDto(Uri Procedure, bool IsFullyAnalyzed, ImmutableArray<CompileErrorDto> CompileErrors, ImmutableArray<ExpressionFactDto> Expressions, ReturnValueFact? ReturnValue = null, RuntimeFactsDto? Runtime = null, ImmutableArray<EmptiedControlReadFact>? EmptiedControlReads = null, ImmutableArray<ArgumentFact>? Arguments = null)
Parameters
ProcedureUriThe address of the procedure.
IsFullyAnalyzedboolWhether the references the facts say there are in its body are all of them.
CompileErrorsImmutableArray<CompileErrorDto>What the static pass found wrong with the body.
ExpressionsImmutableArray<ExpressionFactDto>What it found out about each expression.
ReturnValueReturnValueFactOn how many code paths a function or a property getter assigns its return value, when the pass could tell.
RuntimeRuntimeFactsDtoWhat the language core states about the code, or null when the procedure has not been evaluated.
EmptiedControlReadsImmutableArray<EmptiedControlReadFact>?The reads of its own
For Eachcontrol variables that see them emptied by the end of the loop; null when there are none the pass could tell.ArgumentsImmutableArray<ArgumentFact>?The arguments of its calls that the pass mapped to a parameter, with what the procedure called declares of it; null when there are none.
Properties
Arguments
The arguments of its calls that the pass mapped to a parameter, with what the procedure called declares of it; null when there are none.
public ImmutableArray<ArgumentFact>? Arguments { get; init; }
Property Value
CompileErrors
What the static pass found wrong with the body.
public ImmutableArray<CompileErrorDto> CompileErrors { get; init; }
Property Value
EmptiedControlReads
The reads of its own For Each control variables that see them emptied by the end of the loop; null when there are none the pass could tell.
public ImmutableArray<EmptiedControlReadFact>? EmptiedControlReads { get; init; }
Property Value
Expressions
What it found out about each expression.
public ImmutableArray<ExpressionFactDto> Expressions { get; init; }
Property Value
IsFullyAnalyzed
Whether the references the facts say there are in its body are all of them.
public bool IsFullyAnalyzed { get; init; }
Property Value
Procedure
The address of the procedure.
public Uri Procedure { get; init; }
Property Value
ReturnValue
On how many code paths a function or a property getter assigns its return value, when the pass could tell.
public ReturnValueFact? ReturnValue { get; init; }
Property Value
Runtime
What the language core states about the code, or null when the procedure has not been evaluated.
public RuntimeFactsDto? Runtime { get; init; }