In This Article

EbnfTerminal Class

Represents a terminal symbol within an EBNF production.

public sealed class EbnfTerminal : EbnfSymbol
Inheritance:
object EbnfTerm EbnfQuantifiableTerm EbnfSymbol object

Constructors

EbnfTerminal(Terminal)

Represents a terminal symbol within an EBNF production.

public EbnfTerminal(Terminal terminal)
Parameter Type Description
terminal Terminal

The Terminal that is referenced by this term.

Properties

Terminal

The Terminal that is referenced by this term.

public Terminal Terminal { get; set; }

Property Value

Terminal

Remarks

Once the grammar has been compiled, the setter of this property will throw an exception if called.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods