BaseStrReader

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val eof: Boolean
Link copied to clipboard
Link copied to clipboard
abstract val pos: Int

Functions

Link copied to clipboard
abstract fun clone(): BaseStrReader
Link copied to clipboard
abstract fun endBuffering(start: Int): String
Link copied to clipboard
Link copied to clipboard
inline fun matchWhile(check: (Char) -> Boolean): String
Link copied to clipboard
abstract fun peek(count: Int): String
Link copied to clipboard
open fun peekChar(): Char
Link copied to clipboard
abstract fun peekOffset(offset: Int = 0): Char
Link copied to clipboard
fun read(count: Int): String
Link copied to clipboard
open fun readChar(): Char
Link copied to clipboard
fun readExpect(expected: String): String
Link copied to clipboard
open fun readUntil(char: Char): String?
Link copied to clipboard
abstract fun skip(count: Int = 1): BaseStrReader
Link copied to clipboard
fun skipExpect(expected: Char)
Link copied to clipboard
Link copied to clipboard
inline fun skipUntil(filter: (Char) -> Boolean)
Link copied to clipboard
inline fun skipWhile(filter: (Char) -> Boolean)
Link copied to clipboard
inline fun slice(action: () -> Unit): String
Link copied to clipboard
open fun startBuffering(): Int
Link copied to clipboard
fun tryExpect(str: String, consume: Boolean = true): Boolean
Link copied to clipboard
abstract fun tryLit(lit: String, consume: Boolean = true): String?
Link copied to clipboard