Exemple #1
0
 protected void finish(TypeNativeDataJSON result)
 {
     if (fieldGeneratorNotUnderstoodWords.have_value)
     {
         result.setNotUnderstoodWords(fieldGeneratorNotUnderstoodWords.value);
         fieldGeneratorNotUnderstoodWords.have_value = false;
     }
     else if ((!(result.hasNotUnderstoodWords())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"NotUnderstoodWords\" field was missing.");
     }
 }