Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
matches(_:_:)
Evaluator.swift:174override func matches(_ root: Element, _ element: Element) throws -> Bool
override func matches(_ root: Element, _ element: Element) throws -> Bool
s9SwiftSoup9EvaluatorC18AttributeWithValueC7matchesySbAA7ElementC_AHtKF
What are these?7QXDY
import SwiftSoup
final class AttributeWithValue
Evaluator for attribute name/value matching
class Evaluator
Evaluates that an element matches the selector.
class Element
@frozen struct Bool
A value type whose instances are either true
or false
.
override func matches(_ root: Element, _ element: Element) throws -> Bool
override init(_ key: String, _ value: String) throws
override func toString() -> String