converter

package
v0.0.0-...-25b8d04 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConverterFlag

type ConverterFlag uint
const (
	Default        ConverterFlag = 0
	SkipUnlikelies ConverterFlag = 1 << iota
)

type DomConverter

type DomConverter struct {
	// contains filtered or unexported fields
}

DomConverter converts a node and its children into a Document.

func NewDomConverter

func NewDomConverter(flags ConverterFlag, builder webdoc.DocumentBuilder, pageURL *nurl.URL, logger logutil.Logger) *DomConverter

func (*DomConverter) Convert

func (dc *DomConverter) Convert(root *html.Node)

Jump to

Keyboard shortcuts

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