internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: BSD-2-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvaluationError

func EvaluationError(error, info engine.Term) *engine.Exception

func TypeErrorAtom

func TypeErrorAtom(culprit engine.Term) *engine.Exception

func TypeErrorCompound

func TypeErrorCompound(culprit engine.Term) *engine.Exception

func TypeErrorInteger

func TypeErrorInteger(culprit engine.Term) *engine.Exception

func TypeErrorPair

func TypeErrorPair(culprit engine.Term) *engine.Exception

Types

type TestProlog

type TestProlog struct {
	*prolog.Interpreter
}

func NewTestProlog

func NewTestProlog() *TestProlog

func (*TestProlog) Expect

func (p *TestProlog) Expect(want []map[string]engine.Term, query string, args ...interface{}) func(*testing.T)

func (*TestProlog) MustExec

func (p *TestProlog) MustExec(t *testing.T, prog string, args ...interface{})

Jump to

Keyboard shortcuts

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