In This Article

IDebuggableSymbol Interface

Provides the base requirements for a debuggable Symbol.

public interface IDebuggableSymbol

Properties

EbnfPositionRange

The compiled TextPositionRange of the symbol within an EBNF representation of the grammar.

TextPositionRange EbnfPositionRange { get; }

Property Value

TextPositionRange

ErrorAlias

The alias to use for this symbol when reporting errors.

string? ErrorAlias { get; }

Property Value

string

Remarks

Terminals always report errors and use their Key if no error alias is specified. Non-terminals will only report errors if an error alias is specified.

Key

The string that identifies the symbol.

string? Key { get; }

Property Value

string

Extension Methods