resolvePath

abstract fun resolvePath(path: Path): Scope

Navigates through the scope hierarchy and returns a descendant scope specified by the path. The path is resolved from the current scope downwards.

Return

The target descendant Scope.

Parameters

path

The Path object describing the route to the target scope.

Throws

if any scope in the path is not found.