@mojir/lits
Version:
Lits is a Lisp dialect implemented in TypeScript
7 lines (6 loc) • 431 B
TypeScript
import type { ContextStack } from '../evaluator/ContextStack';
import type { BindingTarget, Node } from '../parser/types';
import type { SourceCodeInfo } from '../tokenizer/token';
import type { Builtin } from './interface';
export type Function = [BindingTarget[], Node[]];
export declare function assertNameNotDefined<T>(name: T, contextStack: ContextStack, builtin: Builtin, sourceCodeInfo?: SourceCodeInfo): asserts name is T;