class CharArrayLookaheadReader extends CharArrayReader
- Source
- CharArrayReader.scala
- Alphabetic
- By Inheritance
- CharArrayLookaheadReader
- CharArrayReader
- CharArrayReaderData
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CharArrayLookaheadReader()
Type Members
-
class
CharArrayLookaheadReader extends CharArrayReader
- Definition Classes
- CharArrayReader
Value Members
-
val
buf: Array[Char]
- Definition Classes
- CharArrayLookaheadReader → CharArrayReader
-
val
ch: Char
the last read character
the last read character
- Definition Classes
- CharArrayReaderData
-
val
charOffset: Int
The offset one past the last read character
The offset one past the last read character
- Definition Classes
- CharArrayReaderData
-
def
copyFrom(cd: CharArrayReaderData): CharArrayLookaheadReader.this.type
- Definition Classes
- CharArrayReaderData
-
def
decodeUni: Boolean
- Definition Classes
- CharArrayLookaheadReader → CharArrayReader
-
def
error(offset: Int, msg: String): Unit
An error routine to call on bad unicode escapes \\uxxxx.
An error routine to call on bad unicode escapes \\uxxxx.
- Definition Classes
- CharArrayLookaheadReader → CharArrayReader
-
def
getc(): Char
A mystery why CharArrayReader.nextChar() returns Unit
- def getu(): Char
-
def
isUnicodeEscape: Boolean
Is last character a unicode escape \\uxxxx?
Is last character a unicode escape \\uxxxx?
- Definition Classes
- CharArrayReader
-
val
lastLineStartOffset: Int
The start offset of the line before the current one
The start offset of the line before the current one
- Definition Classes
- CharArrayReaderData
-
val
lineStartOffset: Int
The start offset of the current line
The start offset of the current line
- Definition Classes
- CharArrayReaderData
-
def
lookaheadReader: CharArrayLookaheadReader
A new reader that takes off at the current character position
A new reader that takes off at the current character position
- Definition Classes
- 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
- Definition Classes
- CharArrayReader
-
final
def
nextRawChar(): Unit
Advance one character, leaving CR;LF pairs intact.
Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.
- Definition Classes
- CharArrayReader
The Scala compiler and reflection APIs.