protected void PopulateNullability(TextWriter trapFile, NullableAnnotation annotation) { var ta = annotation.GetTypeAnnotation(); if (ta != Kinds.TypeAnnotation.None) { trapFile.type_annotation(this, ta); } }
protected void ExtractNullability(NullableAnnotation annotation) { var ta = annotation.GetTypeAnnotation(); if (ta != Kinds.TypeAnnotation.None) { Context.Emit(Tuples.type_annotation(this, ta)); } }