CharArrayLookaheadReader

class Object
trait Matchable
class Any

Type members

Inherited classlikes

Value members

Concrete methods

override def decodeUni: Boolean

Switch whether unicode should be decoded

Switch whether unicode should be decoded

Definition Classes
def error(msg: String, offset: Int): Unit

An error routine to call on bad unicode escapes \uxxxx.

An error routine to call on bad unicode escapes \uxxxx.

Inherited methods

def getc(): Char
Inherited from:
CharArrayReader
Inherited from:
CharArrayReader

Is last character a unicode escape \uxxxx?

Is last character a unicode escape \uxxxx?

Inherited from:
CharArrayReader
Inherited from:
CharArrayReader

A new reader that takes off at the current character position

A new reader that takes off at the current character position

Inherited from:
CharArrayReader
final def nextChar(): Unit

Advance one character; reducing CR;LF pairs to just LF

Advance one character; reducing CR;LF pairs to just LF

Inherited from:
CharArrayReader
final def nextRawChar(): Unit

Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.

Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.

Inherited from:
CharArrayReader
protected def startFrom: Int
Inherited from:
CharArrayReader

Concrete fields

val buf: Array[Char]

Inherited fields

var ch: Char

the last read character

the last read character

Inherited from:
CharArrayReader

The offset one past the last read character

The offset one past the last read character

Inherited from:
CharArrayReader

The offset before the last read character

The offset before the last read character

Inherited from:
CharArrayReader

The start offset of the current line

The start offset of the current line

Inherited from:
CharArrayReader