SwiftstructBiscuits

struct Biscuits.Rule

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. fieldvar bodyPredicates: [Biscuits.Predicate]+0x18
  2. fieldvar expressions: [Biscuits.Expression]+0x20
  3. fieldvar head: Biscuits.Predicate+0x0
  4. fieldvar trusted: [Biscuits.TrustedScope]+0x28
  5. initinit<each A where A: Biscuits.TrustedScopeConvertible>(head: Biscuits.Predicate, trusting: repeat A, predicates: () throws -> Biscuits.Biscuit.StatementBuilder) throws -> Biscuits.Rule
  6. initinit(String) throws -> Biscuits.Rule
  7. varvar description: String { get }
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
    }
}