public void tokens(final @NotNull Token @NotNull [] tokens) {
    this.tokens = tokens;
  }
Sets the tokens associated with this parsing error.

@param tokens the tokens for this error
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/ParsingExceptionImpl.java