UNPKG

@dbml/parse

Version:
17 lines (16 loc) 436 B
import { SymbolKind } from '../symbol/symbolIndex'; export type BinderRule = { shouldBind: true; topSubnamesSymbolKind: SymbolKind[]; remainingSubnamesSymbolKind: SymbolKind; ignoreNameNotFound: boolean; keywords?: readonly string[]; } | { shouldBind: false; }; export interface ArgumentBinderRule { argBinderRules: BinderRule[]; } export interface SettingListBinderRule { [index: string]: BinderRule; }