SwiftstructIntelligenceFlowPlannerSupport

struct IntelligenceFlow.AST.Update

Structure

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

Members 7

  1. fieldvar kind: IntelligenceFlow.AST.UpdateKind
  2. fieldvar lhs: IntelligenceFlow.AST.FlatValue
  3. fieldvar path: [IntelligenceFlow.AST.FlatValue]
  4. fieldvar value: IntelligenceFlow.AST.FlatValue
  5. initinit(transcript: IntelligenceFlowProto.TranscriptProtoASTFlatExprUpdateVariant) throws -> IntelligenceFlow.AST.Update
  6. initinit(lhs: IntelligenceFlow.AST.FlatValue, path: [IntelligenceFlow.AST.FlatValue], kind: IntelligenceFlow.AST.UpdateKind, value: IntelligenceFlow.AST.FlatValue) -> IntelligenceFlow.AST.Update
  7. typealiastypealias TranscriptType = IntelligenceFlowProto.TranscriptProtoASTFlatExprUpdateVariant
struct Update {
    enum CodingKeys {
        case lhs
        case path
        case kind
        case value
    }
    var lhs: IntelligenceFlow.AST.FlatValue
    var path: [IntelligenceFlow.AST.FlatValue]
    var kind: IntelligenceFlow.AST.UpdateKind
    var value: IntelligenceFlow.AST.FlatValue

    init(transcript: IntelligenceFlowProto.TranscriptProtoASTFlatExprUpdateVariant) throws
    init(lhs: IntelligenceFlow.AST.FlatValue, path: [IntelligenceFlow.AST.FlatValue], kind: IntelligenceFlow.AST.UpdateKind, value: IntelligenceFlow.AST.FlatValue)
}