CharArrayLookaheadReader

dotty.tools.dotc.parsing.CharArrayReader.CharArrayLookaheadReader

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
CharArrayReader
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def decodeUni: Boolean

Switch whether unicode should be decoded

Switch whether unicode should be decoded

Attributes

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.

Attributes

Inherited methods

def getc(): Char

Attributes

Inherited from:
CharArrayReader

Attributes

Inherited from:
CharArrayReader

Is last character a unicode escape \uxxxx?

Is last character a unicode escape \uxxxx?

Attributes

Inherited from:
CharArrayReader

Attributes

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

Attributes

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

Attributes

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.

Attributes

Inherited from:
CharArrayReader
protected def startFrom: Int

Attributes

Inherited from:
CharArrayReader

Concrete fields

val buf: Array[Char]

Inherited fields

var ch: Char

the last read character

the last read character

Attributes

Inherited from:
CharArrayReader

The offset one past the last read character

The offset one past the last read character

Attributes

Inherited from:
CharArrayReader

The offset before the last read character

The offset before the last read character

Attributes

Inherited from:
CharArrayReader

The start offset of the current line

The start offset of the current line

Attributes

Inherited from:
CharArrayReader