html_ns

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const INTERPOLATION_LIMITATION_ERROR_MSG = "only HTML nodes, string-like and integer values are allowed"

Variables

View Source
var (
	HTML_NODE_PROPNAMES = []string{"first-child", "data"}

	ANY_HTML_NODE = &HTMLNode{}
)

Functions

This section is empty.

Types

type HTMLNode

func CreateHTMLNodeFromXMLElement

func CreateHTMLNodeFromXMLElement(ctx *symbolic.Context, elem *symbolic.XMLElement) *HTMLNode

func NewHTMLNode

func NewHTMLNode() *HTMLNode

func (*HTMLNode) GetGoMethod

func (n *HTMLNode) GetGoMethod(name string) (*symbolic.GoFunction, bool)

func (*HTMLNode) IsMutable

func (n *HTMLNode) IsMutable() bool

func (*HTMLNode) PrettyPrint

func (n *HTMLNode) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)

func (*HTMLNode) Prop

func (n *HTMLNode) Prop(name string) symbolic.Value

func (*HTMLNode) PropertyNames

func (n *HTMLNode) PropertyNames() []string

func (*HTMLNode) Test

func (*HTMLNode) WatcherElement

func (n *HTMLNode) WatcherElement() symbolic.Value

func (*HTMLNode) WidestOfType

func (r *HTMLNode) WidestOfType() symbolic.Value

Jump to

Keyboard shortcuts

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