node

package
v0.77.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(attributes ...string) *Builder

func (*Builder) Attributes

func (b *Builder) Attributes() []string

func (*Builder) Build

func (b *Builder) Build(holderHTML, targetHTML string) (*Node, error)

type Node

type Node struct {
	*html.Node

	Parent, PrevSibling, NextSibling *Node
	// contains filtered or unexported fields
}

func (*Node) IsBaseNode

func (n *Node) IsBaseNode() bool

func (*Node) Selectors

func (n *Node) Selectors(attributes []string, exclude ...string) []string

Jump to

Keyboard shortcuts

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