Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
matches(_:_:)
CombiningEvaluator.swift:58override func matches(_ root: Element, _ node: Element) -> Bool
override func matches(_ root: Element, _ node: Element) -> Bool
s9SwiftSoup18CombiningEvaluatorC3AndC7matchesySbAA7ElementC_AHtF
What are these?2H0XC
import SwiftSoup
final class And
class CombiningEvaluator
Base combining (and, or) evaluator.
class Element
@frozen struct Bool
A value type whose instances are either true
or false
.
func matches(_ root: Element, _ element: Element) throws -> Bool
Test if the element meets the evaluator’s requirements.
override init(_ evaluators: [Evaluator])
override init(_ evaluators: Evaluator...)
override func toString() -> String