testsuite

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchSuiteExists

func BenchSuiteExists() bool

func TestSuiteExists

func TestSuiteExists() bool

Types

type Bench

type Bench struct {
	Name    string
	Grammar *ast.Grammar
	Parsers []ResetParser
	Record  bool
}

func ReadBenchmarkSuite

func ReadBenchmarkSuite() ([]Bench, error)

type ResetParser

type ResetParser interface {
	parser.Interface
	Reset() error
}

type Test

type Test struct {
	Name     string
	Grammar  *ast.Grammar
	Parser   parser.Interface
	Expected bool
	Record   bool
}

func ReadTestSuite

func ReadTestSuite() ([]Test, error)

Jump to

Keyboard shortcuts

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