opcode_kind_matches Function

private pure function opcode_kind_matches(opcode_kind, expected_kind) result(matches)

True when a SET_/GET_ opcode's own wire kind is compatible with the schema's expected_kind for the target key. Choice-typed keys (e.g. flux_scheme) travel as JSON strings on the wire and are accepted by SET_STRING/GET_STRING, mirroring decode_set_value's existing wire-compatible grouping of cfg_kind_string with cfg_kind_choice.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: opcode_kind
integer, intent(in) :: expected_kind

Return Value logical