We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9f4c99 + 52b9ecc commit a0943e6Copy full SHA for a0943e6
Sources/Swim/Visitor.swift
@@ -76,24 +76,31 @@ public extension Visitor where Result == Void {
76
if let child = child {
77
visitNode(child)
78
}
79
+ return
80
81
82
func visitText(text: String) -> Result {
83
84
85
86
func visitRaw(raw: String) -> Result {
87
88
89
90
func visitComment(text: String) -> Result {
91
92
93
94
func visitDocumentType(name: String) -> Result {
95
96
97
98
func visitFragment(children: [Node]) -> Result {
99
children.forEach(visitNode)
100
101
102
103
func visitTrim() -> Result {
104
105
106
0 commit comments