Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsequitur committed Sep 11, 2023
1 parent ed81852 commit ba9ae08
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,13 @@ public HttpSyntaxTree Parse()

if (ParseRequestSeparator() is { } separatorNode)
{
// FIX: (Parse) uncovered
_syntaxTree.RootNode.Add(separatorNode);
}
}

return _syntaxTree;
}

private static void AppendCommentsIfAny(List<HttpCommentNode> commentsToAppend, HttpSyntaxNode prependToNode)
{
foreach (var comment in commentsToAppend)
{
prependToNode.Add(comment, addBefore: false);
}

commentsToAppend.Clear();
}

private static void PrependCommentsIfAny(List<HttpCommentNode> commentsToPrepend, HttpSyntaxNode prependToNode)
{
foreach (var comment in commentsToPrepend)
Expand Down

0 comments on commit ba9ae08

Please sign in to comment.