protected override void finish() { BaseConverterQueryStateJSON result = new BaseConverterQueryStateJSON(); Debug.Assert(result != null); finish(result); handle_result(result); }
protected void finish(BaseConverterQueryStateJSON result) { if (fieldGeneratorBases.have_value) { result.initBases(); int count = fieldGeneratorBases.value.Count; for (int num = 0; num < count; ++num) { result.appendBases(fieldGeneratorBases.value[num]); } fieldGeneratorBases.value.Clear(); fieldGeneratorBases.have_value = false; } else if ((!(result.hasBases())) && !allow_incomplete) { error("When parsing the object for %what%, the \"Bases\" field was missing."); } }
protected override void handle_result(BaseConverterQueryStateJSON result) { top.value.Add(result); }
protected override void handle_result(BaseConverterQueryStateJSON result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(BaseConverterQueryStateJSON new_result);