import { IModelDSLGenEngineContext } from './imodel-dslgen-engine-context'; import { ModelDSLGenEngineBase } from './model-dslgen-engine-base'; import { IModelListWriter } from './imodel-list-writer'; import { IModelWriter } from './imodel-writer'; /** * dsl 模型转换引擎 * * @author chitanda * @date 2023-04-13 14:04:22 * @export * @class ModelDSLGenEngine * @extends {ModelDSLGenEngineBase} * @implements {IModelDSLGenEngineContext} */ export declare class ModelDSLGenEngine extends ModelDSLGenEngineBase implements IModelDSLGenEngineContext { /** * dsl model writer cache * * @author chitanda * @date 2023-04-13 14:04:33 * @protected * @type {{ [key: string]: IModelWriter }} */ protected modelWriterMap: { [key: string]: IModelWriter; }; /** * dsl model writer list cache * * @author chitanda * @date 2023-04-13 14:04:24 * @protected * @type {{ [key: string]: IModelListWriter }} */ protected modelListWriterMap: { [key: string]: IModelListWriter; }; fillDSL(writerCls: string, src: any, dst: any): boolean; fillDSLList(writerCls: string, src: any[], dst: any[]): boolean; /** * 填充单对象 * * @author chitanda * @date 2023-04-14 15:04:55 * @param {string} writerCls * @param {*} src * @param {string} key * @param {*} [dst] * @return {*} {*} */ s(writerCls: string, src: any, key: string, dst?: any): any; /** * 填充对象列表 * * @author chitanda * @date 2023-04-14 15:04:01 * @param {string} writerCls * @param {*} src * @param {string} key * @param {*} [dst] * @return {*} {*} */ m(writerCls: string, src: any, key: string, dst?: any): any; }