Type alias TokenStream

TokenStream: (string | Token)[]

A token stream is an array of strings and Token objects.

Token streams have to fulfill a few properties that are assumed by most functions (mostly internal ones) that process them.

  1. No adjacent strings.

  2. No empty strings.

    The only exception here is the token stream that only contains the empty string and nothing else.

Generated using TypeDoc