//core/io.islandtime.parser/GroupedDateTimeParserBuilder
GroupedDateTimeParserBuilder¶
common
interface GroupedDateTimeParserBuilder
Functions¶
Name | Summary |
---|---|
anyOf | common abstract fun anyOf(vararg childParsers: GroupedDateTimeParser) Try each of the parsers defined by childParsers until one succeeds and include all of its groups in the parsing results. If none of the parsers succeed, parsing is considered to have failed at the starting index. common abstract fun anyOf(vararg builders: GroupedDateTimeParserBuilder.() -> Unit) Try each of the parsers defined by builders until one succeeds. If none succeed, parsing is considered to have failed. |
group | common abstract fun group(builder: DateTimeParserBuilder.() -> Unit) Create a distinct parse result and associate any parsed data with it. |
literal | common abstract fun literal(char: Char) Parse a Char literal. common abstract fun literal(string: String) Parse a String literal. |
unaryPlus | common open operator fun Char.unaryPlus() Parse a Char literal. common open operator fun String.unaryPlus() Parse a String literal. |