compiler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseResult

type ParseResult struct {
	ParsedModel     *sanmodel.Model `json:"parsedModel"`
	ModelHash       string          `json:"modelHash"`
	TransitionsHash string          `json:"transitionsHash"`
}

type Service

type Service interface {
	Parse(source []byte) (*ParseResult, error)
	Compile(m *sanmodel.Model) ([]byte, error)
	Hash(modelOrNetwork interface{}) (string, error)
}

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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