Trait

xerial.core.io.text

Scanner

Related Doc: package text

Permalink

trait Scanner extends PositionMark

An interface for reading tokens

Linear Supertypes
PositionMark, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scanner
  2. PositionMark
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def atEnd: Boolean

    Permalink

    Returns true iff the reader reached the end of the stream

  2. abstract def clearMarks: Unit

    Permalink
    Definition Classes
    PositionMark
  3. abstract def close: Unit

    Permalink

    Close the stream

  4. abstract def consume: Scanner.this.type

    Permalink

    Proceeds a cursor by one

  5. abstract def cursor: Int

    Permalink
    Attributes
    protected
  6. abstract def first: Int

    Permalink

    Look-ahead the first character

  7. abstract def lastMark: Int

    Permalink
    Definition Classes
    PositionMark
  8. abstract def mark: Unit

    Permalink
    Definition Classes
    PositionMark
  9. abstract def removeLast: Int

    Permalink
    Definition Classes
    PositionMark
  10. abstract def rewind: Unit

    Permalink

    Rewind the scanner cursor to the last marked position

    Rewind the scanner cursor to the last marked position

    Definition Classes
    PositionMark
  11. abstract def selected: CharSequence

    Permalink

    Return the character sequence from the last mark to the current cursor position

    Return the character sequence from the last mark to the current cursor position

    Definition Classes
    PositionMark
  12. abstract def selectedFromFirstMark: CharSequence

    Permalink

    Return the character sequence from the first mark to the current cursor position

    Return the character sequence from the first mark to the current cursor position

    Definition Classes
    PositionMark
  13. abstract def setCursor(c: Int): Unit

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EOF: Int

    Permalink

    End of the character.

    End of the character. Usually -1

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def withMark[U](f: ⇒ U): U

    Permalink
    Definition Classes
    PositionMark

Inherited from PositionMark

Inherited from AnyRef

Inherited from Any

Ungrouped