Packages

trait ScannerData extends TokenData with CharArrayReaderData

An interface to most of mutable data in Scanner defined in TokenData and CharArrayReader (+ next, prev fields) with copyFrom functionality to backup/restore data (used by quasiquotes' lookingAhead).

Source
Scanners.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScannerData
  2. CharArrayReaderData
  3. TokenData
  4. CommonTokenData
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val base: Int

    the base of a number

    the base of a number

    Definition Classes
    TokenData
  2. val ch: Char

    the last read character

    the last read character

    Definition Classes
    CharArrayReaderData
  3. val charOffset: Int

    The offset one past the last read character

    The offset one past the last read character

    Definition Classes
    CharArrayReaderData
  4. def copyFrom(sd: ScannerData): ScannerData.this.type
  5. def copyFrom(cd: CharArrayReaderData): ScannerData.this.type
    Definition Classes
    CharArrayReaderData
  6. def copyFrom(td: TokenData): ScannerData.this.type
    Definition Classes
    TokenData
  7. 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
  8. val lastOffset: Scanners.Offset

    the offset of the character following the token preceding this one

    the offset of the character following the token preceding this one

    Definition Classes
    TokenData
  9. val lineStartOffset: Int

    The start offset of the current line

    The start offset of the current line

    Definition Classes
    CharArrayReaderData
  10. val name: Global.TermName

    the name of an identifier

    the name of an identifier

    Definition Classes
    TokenDataCommonTokenData
  11. val next: TokenData

    we need one token lookahead and one token history

  12. val offset: Scanners.Offset

    the offset of the first character of the current token

    the offset of the first character of the current token

    Definition Classes
    TokenData
  13. val prev: TokenData
  14. val strVal: String

    the string value of a literal

    the string value of a literal

    Definition Classes
    TokenData
  15. val token: Scanners.Token

    the next token

    the next token

    Definition Classes
    TokenDataCommonTokenData