abstract class CharArrayReader extends CharArrayReaderData
- Self Type
- CharArrayReader
- Source
- CharArrayReader.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- CharArrayReader
- CharArrayReaderData
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CharArrayReader()
Type Members
- class CharArrayLookaheadReader extends CharArrayReader
Abstract Value Members
- abstract val buf: Array[Char]
Concrete Value Members
-
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): CharArrayReader.this.type
- Definition Classes
- CharArrayReaderData
- def decodeUni: Boolean
-
def
isUnicodeEscape: Boolean
Is last character a unicode escape \\uxxxx?
-
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
-
final
def
nextChar(): Unit
Advance one character; reducing CR;LF pairs to just LF
-
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.
The Scala compiler and reflection APIs.