@mojir/lits
Version:
Lits is a pure functional programming language implemented in TypeScript
8 lines (7 loc) • 488 B
TypeScript
import type { Builtin } from '../builtin/interface';
import type { ContextStack } from '../evaluator/ContextStack';
import type { EvaluateNode } from '../evaluator/interface';
import type { Ast, AstNode } from '../parser/types';
export type UndefinedSymbols = Set<string>;
export declare const getUndefinedSymbols: GetUndefinedSymbols;
export type GetUndefinedSymbols = (ast: Ast | AstNode[], contextStack: ContextStack, builtin: Builtin, evaluateNode: EvaluateNode) => UndefinedSymbols;