UNPKG

edgerender-yatl

Version:

Yet Another Template Language

9 lines (8 loc) 412 B
declare const token_types: readonly ["(", ")", "[", "]", ",", ".", "+", "-", "/", "*", "|", "!", "==", "!=", "||", "&&", ".?", "in", "!in", "true", "false", "num", "symbol", "str"]; export declare type TokenType = typeof token_types[number]; export interface Token { readonly type: TokenType; readonly value?: string | number; } declare const _default: (exp: string) => Token[]; export default _default;