Next / Previous / Contents / Shipman's homepage

17.27. Txny.dispatchTable: Routing table for alt records

This class dictionary relates each of the record type codes found in the seventh column of alt forms lines to the corresponding scanner method. For the generic intended function for these scanner methods, see Section 17.16, “Txny.__readAltLine(): Process one line of the alt file”.

    # Dispatch table for alt forms types.
    __dispatchTable = {
        ALT_HIGHER:       __scanHigherAlt,
        ALT_EQUIVALENT:   __scanEquivalentAlt,
        ALT_SUBSPECIFIC:  __scanSubspecificAlt,
        ALT_COLLISION:    __scanCollisionAlt }