Skip to main content
Module

x/leac/mod.ts

Lexer / tokenizer
Latest
import * as leac from "https://deno.land/x/leac@v0.6.0/mod.ts";

Functions

Create a lexer function.

Interfaces

Regex rule - looks for a regular expression match.

Lexing rule.

String rule - looks for exact string match that can be different from the name of the rule.

Type Aliases

Lexer function.

Result returned by a lexer function.

Lexer options (not many so far).

Non-empty array of rules.

Token object, a result of matching an individual lexing rule.