code: public CompositeGeneratorNode appendNewLineIfNotEmpty(final CompositeGeneratorNode parent) {
      List<IGeneratorNode> _children = parent.getChildren();
      String _lineDelimiter = this.wsConfig.getLineDelimiter();
      NewLineNode _newLineNode = new NewLineNode(_lineDelimiter, true);
      _children.add(_newLineNode);
      return parent;
    }
docs: Appends a line separator node that will only be effective if the current line contains non-whitespace text.
  
  @return the given parent node