vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Module diet.dom

Types to represent the DOM tree.

The DOM tree is used as an intermediate representation between the parser and the generator. Filters and other kinds of transformations can be executed on the DOM tree. The generator itself will apply filters and other traits using applyTraits.

Functions

NameDescription
expectExpression(att)
expectText(att)
expectText(n)
isExpression(att)
isText(att)
toNodeContent(contents, loc)Converts an array of attribute contents to node contents.

Classes

NameDescription
DocumentEncapsulates a full Diet template document.
NodeRepresents a single node in the DOM tree.

Structs

NameDescription
AttributeA single node attribute.
AttributeContentA single piece of an attribute value.
LocationRepresents the location of an entity within the source file.
NodeContentA single piece of node content.

Enums

NameDescription
NodeAttribsFlags that control parser or generator behavior.
Authors
Copyright
License