Farkle


Nonterminal<'T> Type

A nonterminal symbol. It is made of Production{T}s.

User code must not inherit from this class, or an exception might be thrown.

Instance members

Instance member Description

this.Name

Full Usage: this.Name

Returns: string

The nonterminal's name.

Returns: string

this.SetProductions

Full Usage: this.SetProductions

Parameters:
Modifiers: abstract

Sets the nonterminal's productions.

This method must only be called once, and before building a designtime Farkle containing this nonterminal. Subsequent calls, and these after building are ignored.

firstProd : Production<'T>
prods : Production<'T>[]