parserino

HTML5 parser and DOM manipulation library.

Parserino is a wrapper around the lexbor library

Modules

c
module parserino.c

Members

Classes

ChildrenElementRange
class ChildrenElementRange(VisitOrder order = VisitOrder.Normal)
Undocumented in source.
SelectorElementRange
class SelectorElementRange
Undocumented in source.

Enums

VisitOrder
enum VisitOrder

Order of visit

Functions

asFragment
auto asFragment(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
frontOr
auto frontOr(T range, El fallback)

Get the first element of a range or return the second args

frontOrInit
auto frontOrInit(T range)

Get the first element of a range or return Element.init

frontOrThrow
auto frontOrThrow(T range)

Get the first element of a range or throw an exception

Structs

Document
struct Document

The HTML5 Document

Element
struct Element

A html element

Meta