itf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expr

type Expr struct {
	Value any
}

func (*Expr) UnmarshalJSON

func (e *Expr) UnmarshalJSON(data []byte) error

type ListExprType

type ListExprType = []Expr

type MapExprType

type MapExprType = map[string]Expr

type State

type State struct {
	Meta      map[string]any   `json:"#meta,omitempty"`
	VarValues map[string]*Expr `json:",omitempty"`
}

func (*State) UnmarshalJSON

func (s *State) UnmarshalJSON(data []byte) error

type Trace

type Trace struct {
	Meta   *meta            `json:"#meta,omitempty"`
	Params map[string]*Expr `json:"params"`
	Vars   []string         `json:"vars"`
	States []*State         `json:"states"`
	Loop   int              `json:"loop,omitempty"`
}

ITF spec: https://apalache.informal.systems/docs/adr/015adr-trace.html#the-itf-format

func (*Trace) LoadFromFile

func (trace *Trace) LoadFromFile(filePath string) error

Jump to

Keyboard shortcuts

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