UNPKG

@yellicode/elements

Version:

The meta model API for Yellicode - an extensible code generator.

26 lines (25 loc) 829 B
import * as Interfaces from './interfaces'; import * as Data from './data-interfaces'; export declare class ModelReader { /** * Keeps an index of all elements loaded into memory. */ private elementMap; /** * Implements the behaviour for all elements. */ private modelDelegate; /** * Generated converter code that converts from data objects to navigable elements. */ private converter; /** * Contains all profiles that were read from the main document or any referenced documents. */ private allProfiles; constructor(); static canRead(data: any): boolean; static readDocument(documentData: Data.DocumentData): Interfaces.Document | null; private readDocumentRecursive; private readReferencedDocumentsRecursive; }