StringParser
Functions
Link copied to clipboard
abstract fun applyOptions(options: ParserOptions?, attemptedParsers: List<KType> = emptyList()): ParserFunction<T>
Applies ParserOptions and optionally supplied previously attemptedParsers to get the actual string parser function that can parse String to T (or null if unsuccessful).
Link copied to clipboard
Applies ParserOptions to get a ParserFunction that can be run in case this StringParser is turned into a converter (like at Parsers.getAsConverterOrNull).