Packages

class JavaUnitScanner extends JavaScanner

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaUnitScanner
  2. JavaScanner
  3. DocScanner
  4. ScannerCommon
  5. CommonTokenData
  6. Cloneable
  7. Cloneable
  8. JavaTokenData
  9. AbstractJavaScanner
  10. AbstractJavaTokenData
  11. AnyRef
  12. 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

Instance Constructors

  1. new JavaUnitScanner(unit: Global.CompilationUnit)

Type Members

  1. type ScanPosition = Int
    Definition Classes
    JavaTokenDataAbstractJavaTokenData

Value Members

  1. val NoPos: Int
    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  2. val base: Int

    the base of a number

    the base of a number

    Definition Classes
    JavaTokenData
  3. val cbuf: collection.mutable.StringBuilder

    character buffer for literals

    character buffer for literals

    Definition Classes
    JavaScanner
  4. def copyFrom(td: JavaTokenData): Unit
    Definition Classes
    JavaTokenData
  5. def currentPos: Global.Position
    Definition Classes
    JavaScannerAbstractJavaScanner
  6. def deprecationWarning(pos: Int, msg: String, since: String): Unit
    Definition Classes
    JavaUnitScannerScannerCommon
  7. def discardDocBuffer(): Unit

    To prevent doc comments attached to expressions from leaking out of scope onto the next documentable entity, they are discarded upon passing a right brace, bracket, or parenthesis.

    To prevent doc comments attached to expressions from leaking out of scope onto the next documentable entity, they are discarded upon passing a right brace, bracket, or parenthesis.

    Definition Classes
    DocScanner
  8. def error(pos: Int, msg: String): Unit
    Definition Classes
    JavaUnitScannerScannerCommon
  9. def floatVal(negated: Boolean): Double

    convert name, base to double value

    convert name, base to double value

    Definition Classes
    JavaScannerAbstractJavaScanner
  10. def floatVal: Double
    Definition Classes
    JavaScannerAbstractJavaScanner
  11. def flushDoc(): Global.DocComment
    Definition Classes
    DocScanner
  12. implicit def g2p(pos: Int): Global.Position
    Definition Classes
    JavaUnitScannerAbstractJavaScanner
  13. var in: JavaCharArrayReader
    Definition Classes
    JavaScanner
  14. def incompleteInputError(pos: Int, msg: String): Unit
    Definition Classes
    JavaUnitScannerScannerCommon
  15. def incompleteInputError(msg: String): Unit

    signal an error where the input ended in the middle of a token

    signal an error where the input ended in the middle of a token

    Definition Classes
    JavaScanner
  16. def init(): Unit

    INIT: read lookahead character and token.

    INIT: read lookahead character and token.

    Definition Classes
    JavaScanner
  17. def intVal(negated: Boolean): Long

    convert name to long value

    convert name to long value

    Definition Classes
    JavaScannerAbstractJavaScanner
  18. def intVal: Long
    Definition Classes
    JavaScannerAbstractJavaScanner
  19. val lastPos: Int

    the first character position after the previous token

    the first character position after the previous token

    Definition Classes
    JavaTokenData
  20. def lookaheadToken: Int
    Definition Classes
    JavaScanner
  21. val name: Global.TermName

    the name of an identifier or token

    the name of an identifier or token

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  22. val next: JavaTokenData

    we need one token lookahead

    we need one token lookahead

    Definition Classes
    JavaScannerAbstractJavaScanner
  23. def nextToken(): Unit
    Definition Classes
    JavaScannerAbstractJavaScanner
  24. val pos: Int

    the token's position

    the token's position

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  25. val prev: JavaTokenData
    Definition Classes
    JavaScanner
  26. def registerDocComment(raw: String, pos: Global.Position): Unit
    Definition Classes
    DocScanner
  27. def syntaxError(msg: String): Unit

    generate an error at the current token position

    generate an error at the current token position

    Definition Classes
    JavaScanner
  28. def syntaxError(pos: Int, msg: String): Unit

    generate an error at the given position

    generate an error at the given position

    Definition Classes
    JavaScanner
  29. def toString(): String
    Definition Classes
    JavaScanner → AnyRef → Any
  30. val token: Int

    the next token

    the next token

    Definition Classes
    JavaTokenDataAbstractJavaTokenData