Package com.io7m.cedarbridge.codegen.java.internal.serializers

# Interface CBCGSerializerCallOperationType

All Superinterfaces:
  `Comparable<CBCGSerializerCallOperationType>`

All Known Subinterfaces:
  `OpCallType`

All Known Implementing Classes:
  `OpAbstract`, `OpCallDeserialize`, `OpCallSerialize`

public interface CBCGSerializerCallOperationType extends Comparable<CBCGSerializerCallOperationType>
An operation performed by a serializer. Operations are ordered by `programOrder()`, with each associated code block being executed in this order.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default int`
  `compareTo(CBCGSerializerCallOperationType other)`
  `int`
  `programOrder()`
  `com.io7m.jodist.CodeBlock`
  `serialize()`

- ## Method Details

  - ### programOrder

    int programOrder()
    Returns:
      The program order

  - ### serialize

    com.io7m.jodist.CodeBlock serialize()
    Returns:
      The code block to execute

  - ### compareTo

    default int compareTo(CBCGSerializerCallOperationType other)
    Specified by:
      `compareTo` in interface `Comparable<CBCGSerializerCallOperationType>`