wdpr
    Preparing search index...

    Module position

    Source position tracking for Wikidot markup.

    Every token produced by the parser can carry a Position that maps it back to its original location in the source text. This is used for error reporting, source-map generation, and editor integration.

    Both Point and Position follow the unist Position convention: lines and columns are 1-based, offsets are 0-based.

    Source Position

    Point
    Position
    createPoint
    createPosition