NAME

Text::Amuse::Compile::Indexer::Specification - Class for LaTeX indexes

SYNOPSIS

Everything here is pretty much private and used by Text::Amuse::Compile::Indexer

FUNCTIONS

explode_line

Tokenize a line, splitting in whitespace, word and non-word componentes.

ACCESSORS AND METHODS

index_name

The index code. Must be ASCII, letters only.

index_label

The index title. Must be an escaped LaTeX string

patterns

The raw patterns, with pattern: label sequence. They are LaTeX strings.

matches

Lazily built, a sorted arrayref with hashrefs with the matching specification. The pattern is tokenized.

total_found

Read-write accessor for counting (used by Text::Amuse::Compile::Indexer)