Table of Contents

Class ParserAttributeAccessException

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

Represents a deterministic failure to read a limited generated parser return attribute.

public sealed class ParserAttributeAccessException : InvalidOperationException, ISerializable
Inheritance
ParserAttributeAccessException
Implements
Inherited Members
Extension Methods

Constructors

ParserAttributeAccessException(string, string, string)

Initializes an exception for a current-rule return that is unavailable.

public ParserAttributeAccessException(string attributeText, string returnName, string message)

Parameters

attributeText string

Canonical attribute text.

returnName string

Requested return name.

message string

Deterministic failure message.

ParserAttributeAccessException(string, string?, string, string)

Initializes an exception for an assignment-labeled child return that is unavailable.

public ParserAttributeAccessException(string attributeText, string? labelName, string returnName, string message)

Parameters

attributeText string

Canonical attribute text.

labelName string

Assignment label name, or null for current-rule access.

returnName string

Requested return name.

message string

Deterministic failure message.

Properties

AttributeText

Gets the canonical attribute expression that failed.

public string AttributeText { get; }

Property Value

string

LabelName

Gets the assignment label name, or null for current-rule access.

public string? LabelName { get; }

Property Value

string

ReturnName

Gets the requested return name.

public string ReturnName { get; }

Property Value

string