@dbml/parse
Version:
> TODO: description
22 lines (21 loc) • 757 B
TypeScript
import { ElementInterpreter, InterpreterDatabase } from '../types';
import { ElementDeclarationNode } from '../../parser/nodes';
import { CompileError } from '../../errors';
export declare class TableInterpreter implements ElementInterpreter {
private declarationNode;
private env;
private table;
private pkColumns;
constructor(declarationNode: ElementDeclarationNode, env: InterpreterDatabase);
interpret(): CompileError[];
private interpretName;
private interpretAlias;
private interpretSettingList;
private interpretBody;
private interpretSubElements;
private interpretInjection;
private interpretFields;
private interpretColumn;
private interpretIndexes;
private registerInlineRefToEnv;
}