Next: , Previous: , Up: Ordering methods   [Contents]

15.1 Overview

Before iterating the parses in the bocage, they must be ordered. To create an ordering, use the marpa_o_new() method. When an ordering is no longer in use, its memory can be freed using the marpa_o_unref() method.

An ordering is frozen once the first tree iterator is created using it. A frozen ordering cannot be changed.

As of this writing, the only methods to order parses are internal and undocumented. This is expected to change.