code: @Override
    public void exitRange(VersionParser.RangeContext ctx)
    {
      Object o = stack.pop();
      if (o instanceof IVersion) {
        //range = new SemanticVersionRange((SemanticVersion)o);
        range = new VersionSet((IVersion) o);
      }
      else if (o instanceof IVersionRange) {
        range = (IVersionRange) o;
      }
  
    }
docs: Get whatever is on the stack and make a version range out of it
  
  @see net.ossindex.version.parser.VersionBaseListener#exitRange(net.ossindex.version.parser.VersionParser.RangeContext)