protected override void finish() { CalendarAttendeeJSON result = new CalendarAttendeeJSON(); Debug.Assert(result != null); finish(result); handle_result(result); }
protected void finish(CalendarAttendeeJSON result) { if (fieldGeneratorName.have_value) { result.setName(fieldGeneratorName.value); fieldGeneratorName.have_value = false; } else if ((!(result.hasName())) && !allow_incomplete) { error("When parsing the object for %what%, the \"Name\" field was missing."); } if (fieldGeneratorEmailAddress.have_value) { result.setEmailAddress(fieldGeneratorEmailAddress.value); fieldGeneratorEmailAddress.have_value = false; } }
protected override void handle_result(CalendarAttendeeJSON result) { top.value.Add(result); }
protected override void handle_result(CalendarAttendeeJSON result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(CalendarAttendeeJSON new_result);