Farkle


ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5> Type

A production builder with 5 significant members.

Instance members

Instance member Description

this.Append

Full Usage: this.Append

Parameters:
    literal : string

Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

Creates a production builder from this one with the given string added to the end as a literal.

literal : string
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

this.Append

Full Usage: this.Append

Parameters:
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

Creates a production builder from this one with the given untyped designtime Farkle added to the end as a not significant member.

df : DesigntimeFarkle
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

this.Extend

Full Usage: this.Extend

Parameters:
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5, 'T6>

Creates a production builder from this one with the given typed designtime Farkle added to the end as a significant member. Up to sixteen significant members can be added to a production builder.

df : DesigntimeFarkle<'T6>
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5, 'T6>

this.Finish

Full Usage: this.Finish

Parameters:
    f : Func<'T1, 'T2, 'T3, 'T4, 'T5, 'TOutput>

Returns: Production<'TOutput>

Finishes the production's construction and returns it. This method accepts a delegate that accepts the production's significant members and returns the production's output.

f : Func<'T1, 'T2, 'T3, 'T4, 'T5, 'TOutput>
Returns: Production<'TOutput>

this.FinishFSharp

Full Usage: this.FinishFSharp

Parameters:
    f : 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'TOutput

Returns: Production<'TOutput>

Finishes the production's construction and returns it. This method accepts an F# function that accepts the production's significant members and returns the production's output.

f : 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'TOutput
Returns: Production<'TOutput>

this.WithPrecedence

Full Usage: this.WithPrecedence

Parameters:
    cpTokenRef : outref<obj>

Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

Returns a production builder with a unique contextual precedence token assigned to it, which is also returned by reference.

This method allows a simpler experience for C# users.

cpTokenRef : outref<obj>
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

this.WithPrecedence

Full Usage: this.WithPrecedence

Parameters:
    cpToken : obj - An object that identifies the production when defining operator precedence and associativity.

Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

Returns a production builder with the given contextual precedence token.

cpToken : obj

An object that identifies the production when defining operator precedence and associativity.

Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
ArgumentNullException cpToken is .

Static members

Static member Description

x .>> literal

Full Usage: x .>> literal

Parameters:
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
Modifiers: inline

The Append(string) method as an F# operator.

x : ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
literal : string
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

x .>> df

Full Usage: x .>> df

Parameters:
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
Modifiers: inline

The Append(DesigntimeFarkle) method as an F# operator.

x : ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
df : DesigntimeFarkle
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>

x .>>. df

Full Usage: x .>>. df

Parameters:
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5, 'a>
Modifiers: inline

The Extend method as an F# operator.

x : ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
df : DesigntimeFarkle<'a>
Returns: ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5, 'a>

x => f

Full Usage: x => f

Parameters:
    x : ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
    f : 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'a

Returns: Production<'a>
Modifiers: inline

The FinishFSharp method as an F# operator.

x : ProductionBuilder<'T1, 'T2, 'T3, 'T4, 'T5>
f : 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'a
Returns: Production<'a>