Perseus
    Preparing search index...

    This is the base class for all Selector types. The key method that all selector subclasses must implement is match(). It takes a TraversalState object (from a TreeTransformer traversal) and tests whether the selector matches at the current node. See the comment at the start of this file for more details on the match() method.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Selector subclasses all define a toString() method primarily because it makes it easy to write parser tests.

      Returns string