literal
abstract fun literal(char: Char, builder: LiteralParserBuilder.() -> Unit = {})
Content copied to clipboard
Parse a Char literal.
Parameters
char
the character to match
builder
configure the parser behavior
abstract fun literal(string: String, builder: LiteralParserBuilder.() -> Unit = {})
Content copied to clipboard
Parse a String literal.
Parameters
string
the string to match
builder
configure the parser behavior