public void tag(final @NotNull Tag tag) {
    this.tag = tag;
  }
Sets the tag logic that is represented by this tag node.

@param tag the tag logic
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/node/TagNode.java