docs: public void addChildScope(Scope child) {
          if (childScopes == null) {
              childScopes = new ArrayList<Scope>();
          }
          childScopes.add(child);
          child.setParentScope(this);
      }