Table of Contents

Class ParserEmbeddedCodeTransformationFailureContext

Namespace
Utils.Parser.Diagnostics.EmbeddedCode
Assembly
Utils.Parser.Diagnostics.dll

Contains structured failure metadata used by the central transformation service.

public sealed class ParserEmbeddedCodeTransformationFailureContext
Inheritance
ParserEmbeddedCodeTransformationFailureContext
Inherited Members
Extension Methods

Properties

GrammarName

Gets the owning grammar name when available.

public string? GrammarName { get; set; }

Property Value

string

Location

Gets the embedded-code location being transformed.

public ParserEmbeddedCodeLocation Location { get; set; }

Property Value

ParserEmbeddedCodeLocation

Path

Gets the path that requested the transformation.

public ParserEmbeddedCodeTransformationPath Path { get; set; }

Property Value

ParserEmbeddedCodeTransformationPath

RuleName

Gets the owning parser rule name when available.

public string? RuleName { get; set; }

Property Value

string

Span

Gets the source span associated with the embedded code when available.

public SourceSpan? Span { get; set; }

Property Value

SourceSpan