slot

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: 8 Imported by: 0

Documentation

Overview

Package slot generates Rust code for parser slots

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
	Symbols []string
	Comment string
}

Jump to

Keyboard shortcuts

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