sameKind method

bool sameKind(
  1. ListMarker other
)

Whether an item with this marker continues a list started with other.

Implementation

bool sameKind(ListMarker other) =>
    ordered == other.ordered && delimiter == other.delimiter;