C
G
N
P
S
T
P
- parseNamed() - function in com.kotlindiscord.kord.extensions.parser.StringParser
- Parse all of the flag and keyword arguments out of the cursor, creating a new Cursor containing only the positional arguments and returning a list of parsed NamedArgumentTokens.
- parseNext() - function in com.kotlindiscord.kord.extensions.parser.StringParser
- Attempt to parse a single or quoted positional argument token from the cursor, returning it if there was a token, or
nullif there wasn't anything left to parse. - peek() - function in com.kotlindiscord.kord.extensions.parser.Cursor
- Return the character at the current index.
- peekNext() - function in com.kotlindiscord.kord.extensions.parser.Cursor
- Return the character at the next index, or
nullif we're at the end of the string. - peekNext() - function in com.kotlindiscord.kord.extensions.parser.StringParser
- Attempt to parse the next token and reset the cursor's index to what it was before parsing, before returning the result.
- peekPrevious() - function in com.kotlindiscord.kord.extensions.parser.Cursor
- Return the character at the previous index, or
nullif we're at the start of the string. - peekRemaining() - function in com.kotlindiscord.kord.extensions.parser.StringParser
- Return whatever remains in the cursor's string, without consuming it'.
- peekWhile(kotlin.jvm.functions.Function1) - function in com.kotlindiscord.kord.extensions.parser.StringParser
- Collect characters from the cursor while the predicate returns
true, and return those characters joined into a String. - PositionalArgumentToken - class in com.kotlindiscord.kord.extensions.parser.tokens
- Data class representing a single positional argument token.
- previous() - function in com.kotlindiscord.kord.extensions.parser.Cursor
- Decrement the index and return the character found there, throwing if we're at the start of the string.
- previousOrNull() - function in com.kotlindiscord.kord.extensions.parser.Cursor
- Decrement the index and return the character found there, or
nullif we're at the start of the string.