In This Article

IDebuggableSymbol Interface

Provides the base requirements for a debuggable Symbol.

public interface IDebuggableSymbol

Properties

EbnfPositionRange

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

TextPositionRange EbnfPositionRange { get; }

Property Value

TextPositionRange:

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

ErrorAlias

Gets the alias to use for this symbol when reporting errors.

string ErrorAlias { get; }

Property Value

string:

The alias to use for this symbol when reporting errors.

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

Gets the string that identifies the symbol.

string Key { get; }

Property Value

string:

The string that identifies the symbol.