Class RuleExceptionMetadata
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
ThrowsIReadOnlyList<string>CatchClausesIReadOnlyList<RuleCatchClause>FinallyActionstring
Properties
CatchClauses
Gets the immutable snapshot of declared catch clauses.
public IReadOnlyList<RuleCatchClause> CatchClauses { get; init; }
Property Value
FinallyAction
public string? FinallyAction { get; init; }
Property Value
Throws
Gets the immutable snapshot of declared exception names.
public IReadOnlyList<string> Throws { get; init; }