Skip to content

Commit

Permalink
Merge pull request #40 from loopwerk/main
Browse files Browse the repository at this point in the history
Fix Swift 5.6 compatibility
  • Loading branch information
robb authored Mar 21, 2022
2 parents e9f4c99 + 52b9ecc commit a0943e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/Swim/Visitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,31 @@ public extension Visitor where Result == Void {
if let child = child {
visitNode(child)
}
return
}

func visitText(text: String) -> Result {
return
}

func visitRaw(raw: String) -> Result {
return
}

func visitComment(text: String) -> Result {
return
}

func visitDocumentType(name: String) -> Result {
return
}

func visitFragment(children: [Node]) -> Result {
children.forEach(visitNode)
return
}

func visitTrim() -> Result {
return
}
}

0 comments on commit a0943e6

Please sign in to comment.