/// <summary> /// Called when a FieldEnd node is encountered in the document. /// </summary> public override VisitorAction VisitFieldEnd(FieldEnd fieldEnd) { if (this.isHidden(fieldEnd)) { fieldEnd.Remove(); } return(VisitorAction.Continue); }
public override VisitorAction VisitFieldEnd(FieldEnd fieldEnd) { if (fieldEnd.FieldType.Equals(mTargetFieldType)) fieldEnd.Remove(); else CheckDepthAndRemoveNode(fieldEnd); // This removes the field end if it's inside a field that is being converted. return VisitorAction.Continue; }
public override VisitorAction VisitFieldEnd(FieldEnd fieldEnd) { if (fieldEnd.FieldType.Equals(mTargetFieldType)) fieldEnd.Remove(); else CheckDepthAndRemoveNode(fieldEnd); // This removes the field end if it's inside a field that is being converted. return VisitorAction.Continue; }
/// <summary> /// Called when a FieldEnd node is encountered in the document. /// </summary> public override VisitorAction VisitFieldEnd(FieldEnd fieldEnd) { if (isHidden(fieldEnd)) fieldEnd.Remove(); return VisitorAction.Continue; }