@mathjax/src
    Preparing search index...

    Class AbstractVisitor<N>Abstract

    Implements the generic Visitor object

    The node class for N (the constructor rather than instance of the class)

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    nodeHandlers: Map<string, VisitorFunction<N>> = ...

    Holds the mapping from node kinds to visitor funcitons

    Methods

    • Visitor functions are named "visitKindNode" where "Kind" is replaced by the node kind; e.g., visitTextNode for kind = text.

      Parameters

      • kind: string

        The node kind whose method name is needed

      Returns string

      The name of the visitor method for the given node kind