testsuite

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchSuiteExists

func BenchSuiteExists() (bool, error)

func TestSuiteExists

func TestSuiteExists() (bool, error)

Types

type Bench

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

func ReadBenchmarkSuite

func ReadBenchmarkSuite() ([]Bench, error)

type InitParser added in v0.5.4

type InitParser interface {
	parse.Parser
	Init(buf []byte)
}

type ResetParser

type ResetParser interface {
	parse.Parser
	Reset()
}

type Test

type Test struct {
	Name     string
	Grammar  *ast.Grammar
	Parser   parse.Parser
	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