@Override
  public void accept(final int start, final int end, final @NotNull TokenType tokenType) {
    super.accept(start, end, tokenType);

    if (this.result == null) {
      this.result = new ArrayList<>();
    }

    this.result.add(new Token(start, end, tokenType));
  }
Creates a new token list producing matched token consumer.

@param input the input
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/match/TokenListProducingMatchedTokenConsumer.java