1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/pkg/runtime/values/html.go

32 lines
450 B
Go
Raw Normal View History

2018-09-18 22:42:38 +02:00
package values
import "github.com/MontFerret/ferret/pkg/runtime/core"
type HtmlNode interface {
core.Value
NodeType() Int
NodeName() String
Length() Int
InnerText() String
InnerHtml() String
Value() core.Value
GetAttributes() core.Value
GetAttribute(name String) core.Value
GetChildNodes() core.Value
GetChildNode(idx Int) core.Value
QuerySelector(selector String) core.Value
QuerySelectorAll(selector String) core.Value
}