src/vs/workbench/api/common/extHostTypes.ts/SelectionRange/constructor
class SelectionRange:	constructor(range: Range, parent?: SelectionRange) {
		this.range = range;
		this.parent = parent;

		if (parent && !parent.range.contains(this.range)) {
			throw new Error('Invalid argument: parent must contain this range');
		}
	}