code: @Override
    public StaticTypedSlot getSlot(String name) {
      OverlayScope scope = getOverlayScopeForVar(name, false);
      return scope != null ? scope.getSlot(name) : syntacticScope.getSlot(name);
    }
docs: Get the slot for the given symbol.