Dotty Documentation

0.5.0-bin-SNAPSHOT

sealed class CharReader
extends Object

[-] Constructors

CharReader ( buffer: String )

[-] Members

[+] private val buffer : String
[+] var offset : Int
[+] def char : Char
[+] final def check ( chars: String ) : Boolean
[+] def checkSkipInitWhitespace ( c: Char ) : Boolean
[+] def checkSkipInitWhitespace ( chars: String ) : Boolean
[+] def countWhitespace : Int
[+] def isWhitespace ( c: Char ) : Boolean
[+] def isWhitespaceOrNewLine ( c: Char ) : Boolean
[+] final def jump ( ch: Char ) : Boolean

Jumps a character and consumes it

[+] final def jump ( chars: String ) : Boolean

Jumps all the characters in chars, consuming them in the process.

[+] final def jumpUntil ( ch: Char ) : Int
[+] final def jumpUntil ( pred: => Boolean ) : Int
[+] def jumpWhitespace ( ) : Int
[+] def jumpWhitespaceOrNewLine ( ) : Int
[+] final def nextChar ( ) : Unit
[+] def offset_= ( x$1: Int ) : Unit
[+] final def readUntil ( c: Char ) : String
[+] final def readUntil ( chars: String ) : String
[+] final def readUntil ( pred: => Boolean ) : String
[+] final def repeatJump ( c: Char , max: Int ) : Int
[+] private def withRead ( read: => Unit ) : String