@MustBeInvokedByOverriders
  public void accept(final int start, final int end, final @NotNull TokenType tokenType) {
    this.lastIndex = end;
  }
Accepts a matched token.

@param start     the start of the token
@param end       the end of the token
@param tokenType the type of the token
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/match/MatchedTokenConsumer.java