Fork me on GitHub

core/lexer

Classes

Lexer
Token

Methods

tokenize(s: string): Token[]privatestatic

Create Tokens from a stream of LaTeX

s : string

A string o LaTeX. It can include comments (with the % marker) and multiple lines.

: Token[]