addChildScope

fun addChildScope(child: Scope)

Adds a scope to the child list and sets the child's parent scope to this scope.