In This Article

EbnfNonTerminal Class

Represents a non-terminal symbol within an EBNF production.

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

Constructors

EbnfNonTerminal(NonTerminal)

Represents a non-terminal symbol within an EBNF production.

public EbnfNonTerminal(NonTerminal nonTerminal)
Parameter Type Description
nonTerminal NonTerminal

The NonTerminal that is referenced by this term.

Properties

NonTerminal

The NonTerminal that is referenced by this term.

public NonTerminal NonTerminal { get; set; }

Property Value

NonTerminal

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