pegged.examples.xml

Ultra-simple XML grammar

Members

Functions

closing
O closing(O o)

Semantic action to pop the name stack and compare a tag name The parsing fails if the tags do not nest correctly (See docs, the Semantic Actions wiki page)

flush
O flush(O o)

Semantic action to flush the name stack

opening
O opening(O o)

Semantic action to push a tag name on a stack

Meta