src/ecore.js
function(feature) {
        if (!feature) return null;

        var featureName = feature.eClass ? feature.get('name') : feature;

        if (!_.has(this.values, featureName) && this.has(featureName)) {
            initValue(this, getEStructuralFeature(this.eClass, featureName));
        }

        var value = this.values[featureName];

        if (typeof value === 'function') {
            return value.apply(this);
        } else {
            return value;
        }
    }
function(feature) {
        if (!feature) return null;

        var featureName = feature.eClass ? feature.get('name') : feature;

        if (!_.has(this.values, featureName) && this.has(featureName)) {
            initValue(this, getEStructuralFeature(this.eClass, featureName));
        }

        var value = this.values[featureName];

        if (typeof value === 'function') {
            return value.apply(this);
        } else {
            return value;
        }
    }
function ( feature ) { if ( ! feature ) return null ; var featureName = feature . eClass ? feature . get ( 'name' ) : feature ; if ( ! _ . has ( this . values , featureName ) && this . has ( featureName ) ) { initValue ( this , getEStructuralFeature ( this . eClass , featureName ) ) ; } var value = this . values [ featureName ] ; if ( typeof value === 'function' ) { return value . apply ( this ) ; } else { return value ; } }
Getter for the property identified by the first parameter.  @method get @param {EStructuralFeature} feature or @param {String} feature name @return {Object}
Getter for the property identified by the first parameter .