todotxt4js
    Preparing search index...

    Class Scanner

    Scanner class that splits todo.txt lines into tokens. Identifies different components like completion markers, priorities, dates, projects, contexts, and key-value pairs. Uses character-by-character parsing instead of regex for compatibility.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Scans a line of text and produces an array of tokens.

      Parameters

      • line: string

        The line of text to scan.

      Returns Token[]

      Array of tokens representing the line.