Ace API Reference
    Preparing search index...

    This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.

    Index

    Constructors

    • Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

      Parameters

      • session: EditSession

        The session to associate with

      • initialRow: number

        The row to start the tokenizing at

      • initialColumn: number

        The column to start the tokenizing at

      Returns TokenIterator

    Properties

    $row: number
    $rowTokens: Token[]
    $session: EditSession
    $tokenIndex: number

    Methods