code: protected int enumerateSegs(int startValue, boolean allowOverwrite) {
          int idx = startValue;
  
          for (Iterator<SyntaxElement> i = getElements().iterator(); i.hasNext(); ) {
              SyntaxElement s = i.next();
              if (s != null)
                  idx = s.enumerateSegs(idx, allowOverwrite);
          }
  
          return idx;
      }
docs: ---------------------------------------------------------------------------------------------------------------