slot

package
v0.0.0-...-bb84b19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package slot is generated by gogll. Do not edit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	NT  symbols.NT
	Alt int
	Pos int
}

type Label

type Label int
const (
	ApplyChunk0R0 Label = iota
	ApplyChunk0R1
	ApplyChunks0R0
	ApplyChunks0R1
	ApplyChunks1R0
	ApplyChunks1R1
	ApplyChunks1R2
	CleanStart0R0
	CleanStart0R1
	CleanStart0R2
	CleanStart0R3
	CleanStart1R0
	CleanStart1R1
	CleanStart1R2
	Commit0R0
	Commit0R1
	ConsensusExec0R0
	ConsensusExec0R1
	ConsensusHeight0R0
	ConsensusHeight0R1
	ConsensusHeight0R2
	ConsensusHeight0R3
	ConsensusHeight1R0
	ConsensusHeight1R1
	ConsensusHeight1R2
	ConsensusHeights0R0
	ConsensusHeights0R1
	ConsensusHeights1R0
	ConsensusHeights1R1
	ConsensusHeights1R2
	ConsensusRound0R0
	ConsensusRound0R1
	ConsensusRound1R0
	ConsensusRound1R1
	ConsensusRounds0R0
	ConsensusRounds0R1
	ConsensusRounds1R0
	ConsensusRounds1R1
	ConsensusRounds1R2
	FinalizeBlock0R0
	FinalizeBlock0R1
	InitChain0R0
	InitChain0R1
	NonProposer0R0
	NonProposer0R1
	OfferSnapshot0R0
	OfferSnapshot0R1
	PrepareProposal0R0
	PrepareProposal0R1
	ProcessProposal0R0
	ProcessProposal0R1
	Proposer0R0
	Proposer0R1
	Proposer1R0
	Proposer1R1
	Proposer1R2
	Start0R0
	Start0R1
	StateSync0R0
	StateSync0R1
	StateSync0R2
	StateSync1R0
	StateSync1R1
	StateSyncAttempt0R0
	StateSyncAttempt0R1
	StateSyncAttempt0R2
	StateSyncAttempt1R0
	StateSyncAttempt1R1
	StateSyncAttempts0R0
	StateSyncAttempts0R1
	StateSyncAttempts1R0
	StateSyncAttempts1R1
	StateSyncAttempts1R2
	SuccessSync0R0
	SuccessSync0R1
	SuccessSync0R2
)

func GetAlternates

func GetAlternates(nt symbols.NT) []Label

func GetLabel

func GetLabel(nt symbols.NT, alt, pos int) Label

func (Label) Alternate

func (l Label) Alternate() int

func (Label) EoR

func (l Label) EoR() bool

func (Label) Head

func (l Label) Head() symbols.NT

func (Label) Index

func (l Label) Index() Index

func (Label) Pos

func (l Label) Pos() int

func (Label) Slot

func (l Label) Slot() *Slot

func (Label) String

func (l Label) String() string

func (Label) Symbols

func (l Label) Symbols() symbols.Symbols

type Slot

type Slot struct {
	NT      symbols.NT
	Alt     int
	Pos     int
	Symbols symbols.Symbols
	Label   Label
}

func (*Slot) EoR

func (s *Slot) EoR() bool

func (*Slot) String

func (s *Slot) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL