UNPKG

@mojir/lits

Version:

Lits is a pure functional programming language implemented in TypeScript

9 lines (8 loc) 310 B
import type { FilePathParams } from '../Lits/Lits'; import type { Token } from './token'; export interface TokenStream { tokens: Token[]; hasDebugData: boolean; filePath?: string; } export declare function tokenize(input: string, debug: boolean, filePath: FilePathParams['filePath']): TokenStream;