SwiftstructBiscuits
struct Biscuits.Rule
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 7
- field
var bodyPredicates: [Biscuits.Predicate]+0x18 - field
var expressions: [Biscuits.Expression]+0x20 - field
var head: Biscuits.Predicate+0x0 - field
var trusted: [Biscuits.TrustedScope]+0x28 - init
init<each A where A: Biscuits.TrustedScopeConvertible>(head: Biscuits.Predicate, trusting: repeat A, predicates: () throws -> Biscuits.Biscuit.StatementBuilder) throws -> Biscuits.Rule - init
init(String) throws -> Biscuits.Rule - var
var description: String { get }
Header
struct Rule { var head: Biscuits.Predicate var bodyPredicates: [Biscuits.Predicate] var expressions: [Biscuits.Expression] var trusted: [Biscuits.TrustedScope] init<each A>(head: Biscuits.Predicate, trusting: repeat (each A), predicates: () throws -> Biscuits.Biscuit.StatementBuilder) throws where repeat each A: Biscuits.TrustedScopeConvertible init(_: Swift.String) throws var description: Swift.String { get } }