Documentation ¶
Index ¶
- type Finder
- func (f Finder) Attr() attr.List
- func (f Finder) Find(pred pred.Predicate) (r Finder)
- func (f Finder) FindPrevSibling(pred pred.Predicate) (r Finder)
- func (f Finder) FindSibling(pred pred.Predicate) (r Finder)
- func (f Finder) FirstChild() Finder
- func (f Finder) IsEmpty() bool
- func (f Finder) LastChild() Finder
- func (f Finder) NextSibling() Finder
- func (f Finder) Parent() Finder
- func (f Finder) PrevSibling() Finder
- func (f Finder) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
func FinderFromNode ¶
func FinderFromString ¶
func (Finder) FindPrevSibling ¶ added in v0.4.0
FindPrevSibling performs flat find among node's previous (left) siblings. No recursion. Omits current node, starts from a first such sibling.
func (Finder) FindSibling ¶
FindSibling performs flat find among node's next (right) siblings. No recursion. Omits current node, starts from a first such sibling.
func (Finder) FirstChild ¶
func (Finder) NextSibling ¶
func (Finder) PrevSibling ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.