UNPKG

@dbml/parse

Version:
19 lines (18 loc) 675 B
import { ElementInterpreter, InterpreterDatabase } from '../types'; import { ElementDeclarationNode } from '../../parser/nodes'; import { CompileError } from '../../errors'; export declare class TablePartialInterpreter implements ElementInterpreter { private declarationNode; private env; private tablePartial; private pkColumns; constructor(declarationNode: ElementDeclarationNode, env: InterpreterDatabase); interpret(): CompileError[]; private interpretName; private interpretSettingList; private interpretBody; private interpretSubElements; private interpretFields; private interpretColumn; private interpretIndexes; }