Class OmitColon

java.lang.Object
org.openrewrite.yaml.marker.OmitColon
All Implemented Interfaces:
org.openrewrite.marker.Marker, org.openrewrite.rpc.RpcCodec<OmitColon>

public class OmitColon extends Object implements org.openrewrite.marker.Marker, org.openrewrite.rpc.RpcCodec<OmitColon>
Marker indicating that a mapping entry should be printed without a colon. This is used for flow mappings like { "key", "key2" } where entries lack explicit colons.
  • Constructor Details

    • OmitColon

      public OmitColon()
  • Method Details

    • rpcSend

      public void rpcSend(OmitColon after, org.openrewrite.rpc.RpcSendQueue q)
      Specified by:
      rpcSend in interface org.openrewrite.rpc.RpcCodec<OmitColon>
    • rpcReceive

      public OmitColon rpcReceive(OmitColon before, org.openrewrite.rpc.RpcReceiveQueue q)
      Specified by:
      rpcReceive in interface org.openrewrite.rpc.RpcCodec<OmitColon>