leaveTag static method

void leaveTag(
  1. Tag tag
)

Implementation

static void leaveTag(Tag tag) {
  if (tag is CompoundTag || tag is ListTag) {
    if (tag is CompoundTag) {
      CompoundTag ct = tag;
      ct.endPrettyPrint(_prettyIndex);
    } else if (tag is ListTag) {
      ListTag lt = tag;
      lt.endPrettyPrint(_prettyIndex);
    }
  }
  _prettyIndex--;
}