in src/construct.ts [227:237]
public getContext(key: string): any {
const value = this._context[key];
if (value !== undefined) { return value; }
if (value === undefined && !this.scope?.node) {
throw new Error(`No context value present for ${key} key`);
}
return this.scope && this.scope.node.getContext(key);
}