exporters

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomatonDotExporter

type AutomatonDotExporter[T any] struct {
	// TimeStamp if true, a timestamp will be added to the name of the file.
	Timestamp bool
	FileExporter
}

func (AutomatonDotExporter[T]) Export

func (e AutomatonDotExporter[T]) Export(automaton automata.Automaton[T], pathStr string) error

type ErrUnexpectedTransitionType

type ErrUnexpectedTransitionType struct {
	Expected string
	Actual   string
}

func (*ErrUnexpectedTransitionType) Error

type FileExporter

type FileExporter struct{}

func (FileExporter) ExportToFile

func (f FileExporter) ExportToFile(pathStr string, content []byte) error

Jump to

Keyboard shortcuts

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