Crate arenatree[][src]

Structs

ArenaIter

An iterator over an arena, created with iter

Node

A single node in the tree. Has a reference to the first child and the next sibling.

NodeId

An AST node ID for lookups in the arena

NodeIter

An iterator over a node's siblings. Keeps going to the next sibling until it reaches the end.

NodeList

An easy way to create a list of nodes. The first node will point to the next, etc...

Enums

Arena

Arenas are efficient ways of storing trees: All nodes are actually on a flat surface, but have IDs to other nodes.