public @NotNull Token token() {
    return this.token;
  }
Returns the token that created this tag part.

@return the token
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/node/TagPart.java