dingodart library

Dingo parser and DOM.

Classes

CdataNode
A node that contains raw text. This text's whitespace is preserved.
DocumentNode
The root node of a document.
Node
Abstract DOM node which can contain child nodes.
NodeQuery
Query that only affects all nodes.
Query<T extends Node>
Chainable series of conditions to filter nodes in a tree.
Scanner
Scanner scans strings for symbols, matches brackets, skips whitespace, etc.
TagNode
A node which can have a name, attributes, and children.
TagQuery
Specialized query that only affects elements.
TextNode
A node that contains text. This text's whitespace is discareded.
Token

Enums

TokenType

Functions

buildQuery(dynamic builder(NodeQuery)) NodeQuery
Create a new NodeQuery and call builder with it. Returns the newly constructed query.
buildTagQuery(dynamic builder(TagQuery)) TagQuery
Create a new TagQuery and call builder with it. Returns the newly constructed query.
createDocument() DocumentNode
Create a new Dingo document with version information.
parseDocument(String src) DocumentNode
Parse a Dingo document from a string.

Exceptions / Errors

SyntaxError