Table of Contents

Interface IGrammarSymbol<T>

Namespace
Farkle.Builder
Assembly
Farkle.dll

Combines IGrammarSymbol and IGrammarBuilder<T> to represent a symbol in a grammar to be built with a known type of values it produces.

public interface IGrammarSymbol<out T> : IGrammarBuilder<T>, IGrammarSymbol, IGrammarBuilder

Type Parameters

T

The type of values the symbol will produce.

Inherited Members
Extension Methods

Remarks

This interface cannot be implemented by user code.

This interface is the closest replacement of Farkle 6's DesigntimeFarkle<TResult> interface. The functionality of that interface has been split to this interface and IGrammarBuilder, to codify in the type system which configuration operations apply to individual symbols and which apply to the whole grammar.

See Also