UNPKG

@dbml/parse

Version:
15 lines (14 loc) 529 B
import { CompileError } from '../../errors'; import { ElementDeclarationNode } from '../../parser/nodes'; import { ElementInterpreter, InterpreterDatabase } from '../types'; export declare class RefInterpreter implements ElementInterpreter { private declarationNode; private env; private container; private ref; constructor(declarationNode: ElementDeclarationNode, env: InterpreterDatabase); interpret(): CompileError[]; private interpretName; private interpretBody; private interpretField; }