interpret(access:in:)

func interpret(access i: InstructionID, in context: inout Context)

Interprets i in context, reporting violations into diagnostics.

  • Returns true iff the requested capability can be reborrowed from current borrower.

    Declaration

    Swift

    func canReborrow(_ k: AccessEffect) -> Bool