leaveTag static method
- 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--;
}