src/vs/editor/common/model/editStack.ts/SingleModelEditStackElement/resource
class SingleModelEditStackElement:	public get resource(): URI {
		if (URI.isUri(this.model)) {
			return this.model;
		}
		return this.model.uri;
	}