parse

package
v0.0.0-...-27fe79e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NilParse

type NilParse struct {
}

func (NilParse) Parse

func (n NilParse) Parse(contents []byte, url string) types.ParseResult

func (NilParse) Serialize

func (n NilParse) Serialize() (name string, args interface{})

type ParseFunc

type ParseFunc func(contents []byte, url string) types.ParseResult

type Parser

type Parser interface {
	Parse(contents []byte, url string) types.ParseResult
	Serialize() (name string, args interface{})
}

func NewParser

func NewParser(p ParseFunc, name string) Parser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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