src/vs/editor/contrib/documentSymbols/outlineModel.ts/OutlineModel/get
class OutlineModel:	static get(element: TreeElement | undefined): OutlineModel | undefined {
		while (element) {
			if (element instanceof OutlineModel) {
				return element;
			}
			element = element.parent;
		}
		return undefined;
	}