action

package
v0.0.0-...-2292f9e Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACCEPT = Accept(true)
	ERROR  = Error(true)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Accept

type Accept bool

func (Accept) Equal

func (Accept) Equal(act Action) bool

func (Accept) ResolveConflict

func (this Accept) ResolveConflict(that Action) Action

func (Accept) String

func (this Accept) String() string

type Action

type Action interface {
	Equal(Action) bool
	ResolveConflict(that Action) Action
	String() string
}

type Error

type Error bool

func (Error) Equal

func (Error) Equal(act Action) bool

func (Error) ResolveConflict

func (Error) ResolveConflict(that Action) Action

func (Error) String

func (this Error) String() string

type Reduce

type Reduce int

func (Reduce) Equal

func (this Reduce) Equal(act Action) bool

func (Reduce) ResolveConflict

func (this Reduce) ResolveConflict(that Action) Action

func (Reduce) String

func (this Reduce) String() string

type Shift

type Shift int

func (Shift) Equal

func (this Shift) Equal(act Action) bool

func (Shift) ResolveConflict

func (this Shift) ResolveConflict(that Action) Action

func (Shift) String

func (this Shift) String() string

Jump to

Keyboard shortcuts

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