Class TokenListProducingMatchedTokenConsumer
java.lang.Object
net.kyori.adventure.text.minimessage.internal.parser.match.MatchedTokenConsumer<List<Token>>
net.kyori.adventure.text.minimessage.internal.parser.match.TokenListProducingMatchedTokenConsumer
A matched token consumer that produces a list of matched tokens.
- Since:
- 4.10.0
-
Field Summary
Fields inherited from class net.kyori.adventure.text.minimessage.internal.parser.match.MatchedTokenConsumer
input -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new token list producing matched token consumer. -
Method Summary
Methods inherited from class net.kyori.adventure.text.minimessage.internal.parser.match.MatchedTokenConsumer
lastEndIndex
-
Constructor Details
-
TokenListProducingMatchedTokenConsumer
Creates a new token list producing matched token consumer.- Parameters:
input- the input- Since:
- 4.10.0
-
-
Method Details
-
accept
Description copied from class:MatchedTokenConsumerAccepts a matched token.- Overrides:
acceptin classMatchedTokenConsumer<List<Token>>- Parameters:
start- the start of the tokenend- the end of the tokentokenType- the type of the token
-
result
Description copied from class:MatchedTokenConsumerGets the result of this consumer, if any.- Specified by:
resultin classMatchedTokenConsumer<List<Token>>- Returns:
- the result
-