import { getInitializer } from '../helpers.js';
export const ObjectDriver = {
    /** Initializer of a property by name (array/object/expression nested in an object). */
    getInitializerProperty(obj, name) {
        const prop = obj.getProperty(name);
        return getInitializer(prop);
    },
    getProperty(obj, name) {
        return obj.getProperty(name);
    },
};
