Skip to content

Commit

Permalink
add ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin8105 committed May 26, 2024
1 parent caf3c21 commit 8d776ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ func convertLinesToNodes(lines []string) (nodes []treeNode, errs []error) {
if strings.TrimSpace(line) == "" {
continue
}
// ignore nodes
if strings.Contains(line, "value: Int") {
continue
}

// It is tempting to discard null AST nodes, but these may
// have semantic importance: for example, they represent omitted
Expand Down

0 comments on commit 8d776ea

Please sign in to comment.