parsertest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleParser

type SimpleParser struct {
	Pages []content.Page

	ValidateErr error
	ParseErr    error
	RenderErr   error
}

func (*SimpleParser) ParsePages

func (p *SimpleParser) ParsePages(_ context.Context, r pagerange.Range) ([]content.Page, error)

func (*SimpleParser) RenderPage

func (p *SimpleParser) RenderPage(_ context.Context, num int, r renderformat.Renderer) error

func (*SimpleParser) Validate

func (p *SimpleParser) Validate(_ context.Context) error

Jump to

Keyboard shortcuts

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