StrReader

data class StrReader(val str: String, var pos: Int = 0, var end: Int = str.length)

Constructors

Link copied to clipboard
constructor(str: String, pos: Int = 0, end: Int = str.length)

Properties

Link copied to clipboard
var end: Int
Link copied to clipboard
Link copied to clipboard
var pos: Int
Link copied to clipboard
val str: String

Functions

Link copied to clipboard
fun peekChar(): Char
Link copied to clipboard
fun readChar(): Char
Link copied to clipboard
fun readUntil(cond: (Char) -> Boolean): String
Link copied to clipboard
fun skip(count: Int = 1)