function _processEqualSpacer(context, stackView) {
    
      // Determine unique name for the spacer
      context.equalSpacerIndex = context.equalSpacerIndex || 1;
      var name = '_~' + context.lineIndex + ':' + context.equalSpacerIndex + '~';
      if (context.equalSpacerIndex > 1) {
    
        // Ensure that all spacers have the same width/height
        context.constraints.push({
          view1: '_~' + context.lineIndex + ':1~',
          attr1: context.horizontal ? Attribute.WIDTH : Attribute.HEIGHT,
          relation: context.relation.relation || Relation.EQU,
          view2: name,
          attr2: context.horizontal ? Attribute.WIDTH : Attribute.HEIGHT,
          priority: context.relation.priority
        });
      }
      context.equalSpacerIndex++;
    
      // Enforce view/proportional width/height
      if (context.relation.view || context.relation.multiplier && context.relation.multiplier !== 1) {
        context.constraints.push({
          view1: name,
          attr1: context.horizontal ? Attribute.WIDTH : Attribute.HEIGHT,
          relation: context.relation.relation || Relation.EQU,
          view2: context.relation.view,
          attr2: context.horizontal ? Attribute.WIDTH : Attribute.HEIGHT,
          priority: context.relation.priority,
          multiplier: context.relation.multiplier
        });
        context.relation.multiplier = undefined;
      } else if (context.relation.constant) {
        context.constraints.push({
          view1: name,
          attr1: context.horizontal ? Attribute.WIDTH : Attribute.HEIGHT,
          relation: Relation.EQU,
          view2: null,
          attr2: Attribute.CONST,
          priority: context.relation.priority,
          constant: context.relation.constant
        });
        context.relation.constant = undefined;
      }
    
      // Add constraint
      for (var i = 0; i < context.prevViews.length; i++) {
        var prevView = context.prevViews[i];
        switch (context.orientation) {
          case Orientation.HORIZONTAL:
            context.prevAttr = prevView !== stackView ? Attribute.RIGHT : Attribute.LEFT;
            context.curAttr = Attribute.LEFT;
            break;
          case Orientation.VERTICAL:
            context.prevAttr = prevView !== stackView ? Attribute.BOTTOM : Attribute.TOP;
            context.curAttr = Attribute.TOP;
            break;
          case Orientation.ZINDEX:
            context.prevAttr = Attribute.ZINDEX;
            context.curAttr = Attribute.ZINDEX;
            context.relation.constant = prevView !== stackView ? 'default' : 0;
            break;
        }
        context.constraints.push({
          view1: prevView,
          attr1: context.prevAttr,
          relation: context.relation.relation,
          view2: name,
          attr2: context.curAttr,
          priority: context.relation.priority
        });
      }
      context.prevViews = [name];
    }
Helper function that inserts equal spacers (~).
@private