Operators
sealed class Operators
Content copied to clipboard
All available operators for use in the rule definitions or sequence building.
Functions
char
Link copied to clipboard
joinToString
Link copied to clipboard
fun <T> EvalPE<List<T>>.joinToString(separator: CharSequence = "", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (T) -> CharSequence? = null): EvalPE<String>
Content copied to clipboard
This function works just like the joinToString from the standard library, but for the parsing expressions.
list
Link copied to clipboard
Parsing expression that represents a list of elements with the optionally defined separator, prefix, and postfix.
literal
Link copied to clipboard
orDefault
Link copied to clipboard
repeated
Link copied to clipboard
repeatedExactly
Link copied to clipboard
zeroOrMore
Link copied to clipboard
Repeat parsing expression 0 or more times.
Properties
ANY
Link copied to clipboard
Parsing expression that represents any possible character.
DIGIT
Link copied to clipboard
Parsing expression that represents any decimal digit, that is, any character in '0'..'9'.
HEX_DIGIT
Link copied to clipboard
Parsing expression that represents any hexadecimal digit, that is, any character in '0'..'9', 'a'..'f', or 'A'..'F'.
LETTER
Link copied to clipboard
Parsing expression that represents any letter, that is, any character for which
it.isLetter()
equals true
.Inheritors
Sources
JVM source
Link copied to clipboard