sealed class CharReader extends AnyRef
- Attributes
- protected
- Self Type
- (CommentFactoryBase.this)#CharReader
- Source
- CommentFactoryBase.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- CharReader
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CharReader(buffer: String)
Value Members
- def char: Char
- final def check(chars: String): Boolean
- def checkSkipInitWhitespace(chars: String): Boolean
- def checkSkipInitWhitespace(c: Char): Boolean
- def countWhitespace: Int
- def isWhitespace(c: Char): Boolean
- def isWhitespaceOrNewLine(c: Char): Boolean
-
final
def
jump(chars: String): Boolean
jumps all the characters in chars, consuming them in the process.
jumps all the characters in chars, consuming them in the process.
- returns
true only if the correct characters have been jumped
-
final
def
jump(ch: Char): Boolean
jumps a character and consumes it
jumps a character and consumes it
- returns
true only if the correct character has been jumped
- final def jumpUntil(pred: ⇒ Boolean): Int
- final def jumpUntil(ch: Char): Int
- def jumpWhitespace(): Int
- def jumpWhitespaceOrNewLine(): Int
- final def nextChar(): Unit
- var offset: Int
- final def readUntil(pred: ⇒ Boolean): String
- final def readUntil(chars: String): String
- final def readUntil(c: Char): String
- final def repeatJump(c: Char, max: Int = Int.MaxValue): Int
The Scala compiler and reflection APIs.