Table of Contents

Class RuleExceptionMetadata

Namespace
Utils.Parser.Model
Assembly
Utils.Parser.dll

Parser rule exception metadata preserved without runtime exception semantics.

public record RuleExceptionMetadata : IEquatable<RuleExceptionMetadata>
Inheritance
RuleExceptionMetadata
Implements
Inherited Members
Extension Methods

Constructors

RuleExceptionMetadata(IReadOnlyList<string>, IReadOnlyList<RuleCatchClause>, string?)

Parser rule exception metadata preserved without runtime exception semantics.

public RuleExceptionMetadata(IReadOnlyList<string> Throws, IReadOnlyList<RuleCatchClause> CatchClauses, string? FinallyAction)

Parameters

Throws IReadOnlyList<string>
CatchClauses IReadOnlyList<RuleCatchClause>
FinallyAction string

Properties

CatchClauses

Gets the immutable snapshot of declared catch clauses.

public IReadOnlyList<RuleCatchClause> CatchClauses { get; init; }

Property Value

IReadOnlyList<RuleCatchClause>

FinallyAction

public string? FinallyAction { get; init; }

Property Value

string

Throws

Gets the immutable snapshot of declared exception names.

public IReadOnlyList<string> Throws { get; init; }

Property Value

IReadOnlyList<string>