slots

package
v0.0.0-...-d977049 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package slots generates a Go parser slots package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(slotFile string, g *ast.GoGLL, gs *gslot.GSlot, ff *frstflw.FF)

Types

type AltData

type AltData struct {
	NT     string
	Labels string
}

type Data

type Data struct {
	Package string
	Slots   []*SlotData
	Alts    []*AltData
}

type SlotData

type SlotData struct {
	Label    string
	NT       string
	Alt      int
	Pos      int
	Nullable bool
	Symbols  []string
	FirstT   []string
}

Jump to

Keyboard shortcuts

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