in src/construct.ts [260:265]
public tryGetContext(key: string): any { const value = this._context[key]; if (value !== undefined) { return value; } return this.scope && this.scope.node.tryGetContext(key); }