enterScopeIfExists

fun enterScopeIfExists(nodeToScope: Node?)

Similar to enterScope, but does so in a "read-only" mode, e.g. it does not modify the scope tree and does not create new scopes on the fly, as enterScope does.