Returns the fragment identifier of the EObject.  @return {String}
343890
function() {
        var eContainer = this.eContainer,
            eClass = this.eClass,
            iD = eClass.get('eIDAttribute'),
            eFeature,
            contents,
            fragment;

        // Must be at least contain in a Resource or EObject.
        if (!eContainer) return null;

        // Use ID has fragment
        if (iD) return this.get(iD.get('name'));

        if (this._id) return this._id;

        // ModelElement uses names except for roots
        if (this.isKindOf('EModelElement')) {
            if (!eContainer) {
                return '/';
            } else if (eContainer.isKindOf('Resource')) {
                contents = eContainer.get('contents');
                return contents.size() > 1 ? '/' + contents.indexOf(this) : '/';
            } else {
                return eContainer.fragment() + '/' + this.get('name');
            }
        }

        // Default fragments
        if (eContainer.isKindOf('Resource')) {
            contents = eContainer.get('contents');
            fragment = contents.size() > 1 ? '/' + contents.indexOf(this) : '/';
        } else {
            eFeature = this.eContainingFeature;
            if (eFeature) {
                fragment = eContainer.fragment() + '/@' + eFeature.get('name');
                if (eFeature.get('upperBound') !== 1) {
                    fragment += '.' + eContainer.get(eFeature.get('name')).indexOf(this);
                }
            }
        }

        return fragment;
    }
170602
function () {
			if (!this.sNamespace || this.sNamespace === '/') {
				return "[" + this.sLayer + "] /";
			}

			var aSplittedNamespace = this.sNamespace.split('/');
			var sNamespaceDepth = aSplittedNamespace.length;
			if (sNamespaceDepth > 2) {
				return "[" + this.sLayer + "] .../" + aSplittedNamespace[sNamespaceDepth - 2];
			}

			return "[" + this.sLayer + "] /" + this.sNamespace[sNamespaceDepth - 1];
		}
177176
function () {
            var spec = this.__spec;
            if (arguments.length === 0)
                return spec;
            else if (arguments.length === 1 && typeof arguments[0] === "string")
                return spec[arguments[0]];
            else {
                for (var i = 0; i < arguments.length; i++) {
                    if (typeof arguments[i] === "string") {
                        spec[arguments[i]] = arguments[i + 1];
                        i++;
                    }
                    else if (typeof arguments[i] === "object") {
                        for (var key in arguments[i])
                            if (_cs.isown(arguments[i], key))
                                spec[key] = arguments[i][key];
                    }
                }
            }
            return undefined;
        }
580861
function() {
      var path = this.decodeFragment(
        this.location.pathname + this.getSearch()
      ).slice(this.root.length - 1);
      return path.charAt(0) === '/' ? path.slice(1) : path;
    }
9951
function() {
        var name_parts = [],
            proto_ref  = this.reflector.getProto()[this.name],
            name       = '',
            body       = '';

        if (this.meta.is_abstract) { name_parts.push('abstract'); }
        if (this.meta.is_final) { name_parts.push('final'); }

        name_parts.push(this.meta.visibility);
        
        if (this.meta.is_static) { name_parts.push('static'); }

        if (this.meta.is_nullable) { name_parts.push('nullable'); }
        if (this.meta.is_read_only) { name_parts.push('read'); }

        // If type === null, attempt to detect it by the predefined value.
        if (this.meta.type === null) {
            if (proto_ref === null) {
                name_parts.push('mixed');
            } else {
                name_parts.push(typeof (proto_ref));
            }
        } else {
            name_parts.push(this.meta.type);
        }

        name_parts.push('"' + this.meta.name + '"');
        name = name_parts.join(' ');

        if (typeof (proto_ref) === 'function') {
            body = '[Function]';
        } else if (typeof (proto_ref) === 'object' && proto_ref !== null) {
            body = '[Object (' + proto_ref.length + ')]';
        } else if (typeof (proto_ref) === 'string') {
            body = '"' + proto_ref + '"';
        } else {
            body = proto_ref;
        }
        return name + ': ' + body;
    }
462819
function fragmentToString(frag) {
	var doc = frag.ownerDocument;
	var div = doc.createElement('div');
	for (var i=0; i < frag.childNodes.length; i++) {
		div.appendChild(frag.childNodes.item(i).cloneNode(true));
	}
	return div.innerHTML;
}
1222731
function() {
        let docDomain = this.getDocDomain();
        if ( docDomain === '' ) { docDomain = this.docHostname; }
        if ( this.domain !== undefined && this.domain !== '' ) {
            return this.domain !== docDomain;
        }
        const hostname = this.getHostname();
        if ( hostname.endsWith(docDomain) === false ) { return true; }
        const i = hostname.length - docDomain.length;
        if ( i === 0 ) { return false; }
        return hostname.charCodeAt(i - 1) !== 0x2E /* '.' */;
    }
452275
function getFragmentRect ({ _fragmentStart, _fragmentEnd }) {
  let top, bottom, left, right
  util().mapNodeRange(_fragmentStart, _fragmentEnd, function (node) {
    let rect
    if (node.nodeType === 1 || node.getBoundingClientRect) {
      rect = node.getBoundingClientRect()
    } else if (node.nodeType === 3 && node.data.trim()) {
      rect = getTextRect(node)
    }
    if (rect) {
      if (!top || rect.top < top) {
        top = rect.top
      }
      if (!bottom || rect.bottom > bottom) {
        bottom = rect.bottom
      }
      if (!left || rect.left < left) {
        left = rect.left
      }
      if (!right || rect.right > right) {
        right = rect.right
      }
    }
  })
  return {
    top,
    left,
    width: right - left,
    height: bottom - top
  }
}
186765
function () {
            var cfg = this._cfg, showLabel = (!cfg.hideLabel && !!cfg.label), idx;
            if (showLabel) {
                idx = ((cfg.labelPos === "right" && !this._fullWidth) || cfg.labelPos === "bottom") ? 0 : 1;
            } else {
                idx = 0;
            }
            var dom = this.getDom();
            if (this._isIE7OrLess) {
                dom = dom ? dom.firstChild : null;
            }
            return ariaUtilsDom.getDomElementChild(dom, idx);
        }
482018
protected String canonicalName(EObject object) {
		if (object instanceof JvmIdentifiableElement) {
			return ((JvmIdentifiableElement) object).getQualifiedName();
		}
		final EObject jvmElement = this.associations.getPrimaryJvmElement(object);
		if (jvmElement instanceof JvmIdentifiableElement) {
			return ((JvmIdentifiableElement) jvmElement).getQualifiedName();
		}
		return null;
	}
1022327
public String getElementId() {
		for (Entry<String, String> attribute : attributes.entrySet()) {
			if (attribute.getKey().equalsIgnoreCase("id")) {
				return attribute.getValue();
			}
		}
		return null;
	}
1197972
public String getIdName() {
        String result = null;
        if (idAccessor != null) {
            result = idAccessor.getPropertyName();
        }
        return result;
    }
1256306
function getEncloseFunctionDeclaration(reference) {
    let node = reference.identifier;

    while (node) {
        if (node.type === "FunctionDeclaration") {
            return node.id ? node : null;
        }

        node = node.parent;
    }

    return null;
}
917437
function getElementRegistry(identifier) {
  if (!window.__private__) window.__private__ = {};
  if (window.__private__.elementRegistry === undefined) window.__private__.elementRegistry = {};
  if (typeof identifier === 'string') {
    if (!~identifier.indexOf('-')) identifier = identifier + '-element';
    return window.__private__.elementRegistry[identifier];
  }
  if (typeof identifier === 'function') {
    for (let tag in window.__private__.elementRegistry) {
      let Class = window.__private__.elementRegistry[tag];
      if (Class.__proto__ === identifier) return Class;
    }
    return null;
  }
  return window.__private__.elementRegistry;
}
749404
function () {
      let scope = context.getScope();
      while (scope && scope.type !== 'class') {
        scope = scope.upper;
      }
      const node = scope && scope.block;
      if (!node || !utils.isES6Component(node)) {
        return null;
      }
      return node;
    }
1258740
private static String getSegmentBaseName(String segmentQualifiedName) {
        int endOfStreamNamePos = segmentQualifiedName.lastIndexOf(TRANSACTION_DELIMITER);
        if (endOfStreamNamePos < 0 || endOfStreamNamePos + TRANSACTION_DELIMITER.length() + TRANSACTION_ID_LENGTH > segmentQualifiedName.length()) {
            //not a transaction segment.
            return segmentQualifiedName;
        }
        //transaction segment: only return the portion before transaction delimiter.
        return segmentQualifiedName.substring(0, endOfStreamNamePos);
    }
711326
protected String getElementName(final EObject element) {
    if ((element == null)) {
      return null;
    }
    final String name = this.attributeResolver.apply(element);
    String _xifexpression = null;
    boolean _isEmpty = Strings.isEmpty(name);
    if (_isEmpty) {
      _xifexpression = null;
    } else {
      _xifexpression = name;
    }
    return _xifexpression;
  }