Module bracket::parser::ast[][src]

Expand description

Abstract syntax tree node types.

Structs

Block encapsulates an inner template.

Call is a variable interpolation, helper invocation or partial render.

Components form part of a path.

Documents are abstract nodes that encapsulate a collection of child nodes.

Link node for wiki-style links.

Path to a variable.

Text nodes refer to a consecutive range of bytes.

Text blocks encapsulate a text node with start and end ranges; used primarily for comments.

Enums

Call targets represent either a helper call, partial render or variable path.

Indicates the kind of path component.

Nodes form the abstract syntax tree.

Parameter values can be used as arguments or hash values.

Indicates the kind of escaping using for raw identifiers.

Traits

Trait for elements that expect to be closed.

Trait for nodes that track line numbers.

Trait for nodes that reference a slice of the source template.