* All parent scopes of this construct. * * @returns a list of parent scopes. The last element in the list will always * be the current construct and the first element will be the root of the * tree.
()
| 108 | * tree. |
| 109 | */ |
| 110 | public get scopes(): IConstruct[] { |
| 111 | // Needs to return a copy to make sure callers can't accidentally mutate |
| 112 | // internal state. jsii doesn't support ReadonlyArray. |
| 113 | return [...this._scopes]; |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * An opaque, deterministic address for this construct, derived from its path. |
nothing calls this directly
no outgoing calls
no test coverage detected