@finos/legend-graph
Version:
Legend graph and graph manager
33 lines • 2.38 kB
TypeScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { PackageableElement } from '../../../graph/metamodel/pure/packageableElements/PackageableElement.js';
import type { PackageableElementReference } from '../../../graph/metamodel/pure/packageableElements/PackageableElementReference.js';
import type { InferableValue } from '../../../graph/metamodel/pure/InferableValue.js';
import type { PureGraphManagerPlugin } from '../../PureGraphManagerPlugin.js';
import type { INTERNAL__UnknownPackageableElement } from '../../../graph/metamodel/pure/packageableElements/INTERNAL__UnknownPackageableElement.js';
import type { INTERNAL__UnknownElement } from '../../../graph/metamodel/pure/packageableElements/INTERNAL__UnknownElement.js';
export declare class ObserverContext {
plugins: PureGraphManagerPlugin[];
constructor(plugins: PureGraphManagerPlugin[]);
}
export declare const skipObserved: <T>(observer: (metamodel: T) => T) => ((metamodel: T) => T);
export declare const skipObservedWithContext: <T>(observer: (metamodel: T, context: ObserverContext) => T) => ((metamodel: T, context: ObserverContext) => T);
export declare const observe_Abstract_PackageableElement: (metamodel: PackageableElement) => void;
export declare const observe_INTERNAL__UnknownElement: (metamodel: INTERNAL__UnknownElement) => INTERNAL__UnknownElement;
export declare const observe_INTERNAL__UnknownPackageableElement: (metamodel: INTERNAL__UnknownPackageableElement) => INTERNAL__UnknownPackageableElement;
export declare const observe_PackageableElementReference: <T extends PackageableElement>(metamodel: PackageableElementReference<T>) => PackageableElementReference<T>;
export declare const observe_Abstract_InferableValue: <T, V>(metamodel: InferableValue<T, V>) => void;
//# sourceMappingURL=CoreObserverHelper.d.ts.map