class Paru::Selector

A Selector models a relationship between Pandoc AST nodes, such as parent-child or sibling. Selectors in paru are like CSS selectors, but more limited because the Pandoc AST is quite simple.

Given a selector expression, Selector determines if a node complies with that selector expression or not.