Table of Contents

Class Label

Namespace
Hegel
Assembly
Hegel.dll

Span labels: how the engine tells one kind of draw from another when it shrinks. A generator's Label is one of these, Of(string) a name, or a Combine(params ulong[])d label.

public static class Label
Inheritance
Label
Inherited Members

Fields

Array

An array.

public const ulong Array = 6516319197036412913

Field Value

ulong

Composite

A composite draw.

public const ulong Composite = 2947436992312376143

Field Value

ulong

Deferred

A deferred generator.

public const ulong Deferred = 13361548474957408759

Field Value

ulong

Filter

A filtered draw.

public const ulong Filter = 10758399691867166206

Field Value

ulong

FilterAttempt

One attempt of a filtered draw.

public const ulong FilterAttempt = 10045846696258358553

Field Value

ulong

FixedDict

A fixed set of keys.

public const ulong FixedDict = 5010529020816082952

Field Value

ulong

FlatMap

A generator chosen from a drawn value.

public const ulong FlatMap = 16743228985440102522

Field Value

ulong

FromLark

A Lark grammar draw.

public const ulong FromLark = 10359087412901178689

Field Value

ulong

Generator

A generator that gives no label of its own.

public const ulong Generator = 13286028886571109937

Field Value

ulong

List

A list.

public const ulong List = 5534668350891054709

Field Value

ulong

Map

A map.

public const ulong Map = 7559043781511986797

Field Value

ulong

Mapped

A mapped draw.

public const ulong Mapped = 5111325571529699938

Field Value

ulong

OneOf

A choice between generators.

public const ulong OneOf = 17969971583049514016

Field Value

ulong

Optional

An optional value.

public const ulong Optional = 5092568087352452896

Field Value

ulong

Permutation

A permutation.

public const ulong Permutation = 12693339384256486720

Field Value

ulong

PoolValuesConsumed

A consumed pool value.

public const ulong PoolValuesConsumed = 492321035988792017

Field Value

ulong

PoolValuesReusable

A reusable pool value.

public const ulong PoolValuesReusable = 9193352034248264578

Field Value

ulong

Recursive

A recursive draw.

public const ulong Recursive = 13536913276382008744

Field Value

ulong

Sample

A sample.

public const ulong Sample = 8541538703802428838

Field Value

ulong

SampledFrom

A value sampled from a sequence.

public const ulong SampledFrom = 17966895106006060151

Field Value

ulong

Set

A set.

public const ulong Set = 10122956049912890981

Field Value

ulong

StatefulRule

A stateful rule.

public const ulong StatefulRule = 13628141335024534264

Field Value

ulong

Subsequence

A subsequence.

public const ulong Subsequence = 15158503169073156895

Field Value

ulong

Tuple

A tuple.

public const ulong Tuple = 15634846703131927419

Field Value

ulong

Methods

Combine(params ulong[])

The label the engine derives from labels together.

public static ulong Combine(params ulong[] labels)

Parameters

labels ulong[]

Returns

ulong

Of(string)

The label the engine derives from name.

public static ulong Of(string name)

Parameters

name string

Returns

ulong