scala.tools.nsc.javac.JavaScanners

JavaScanner

class JavaScanner extends AbstractJavaScanner with JavaTokenData with Cloneable with ScannerCommon

A scanner for Java.

Attributes
abstract
Source
JavaScanners.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. JavaScanner
  2. ScannerCommon
  3. CommonTokenData
  4. Cloneable
  5. JavaTokenData
  6. AbstractJavaScanner
  7. AbstractJavaTokenData
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaScanner ()

Type Members

  1. type ScanPosition = Int

    Definition Classes
    JavaTokenDataAbstractJavaTokenData

Abstract Value Members

  1. def error (off: Int, msg: String): Unit

    Attributes
    abstract
    Definition Classes
    ScannerCommon
  2. implicit def g2p (pos: ScanPosition): Position

    Attributes
    implicit abstract
    Definition Classes
    AbstractJavaScanner
  3. def incompleteInputError (off: Int, msg: String): Unit

    Attributes
    abstract
    Definition Classes
    ScannerCommon
  4. implicit def p2g (pos: Position): ScanPosition

    Attributes
    implicit abstract
    Definition Classes
    AbstractJavaScanner
  5. def warning (off: Int, msg: String): Unit

    Attributes
    abstract
    Definition Classes
    ScannerCommon

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val NoPos : Int

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. var base : Int

    the base of a number

    the base of a number

    Definition Classes
    JavaTokenData
  9. val cbuf : StringBuilder

    character buffer for literals

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def copyFrom (td: JavaTokenData): Unit

    Definition Classes
    JavaTokenData
  12. def currentPos : Position

    Definition Classes
    JavaScannerAbstractJavaScanner
  13. var docBuffer : StringBuilder

    buffer for the documentation comment

  14. def dup : JavaScanner

  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. var errpos : Int

    the last error position

    the last error position

    Definition Classes
    JavaScannerAbstractJavaScanner
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def floatVal (negated: Boolean): Double

    convert name, base to double value

    convert name, base to double value

    Definition Classes
    JavaScannerAbstractJavaScanner
  20. def floatVal : Double

    Definition Classes
    JavaScannerAbstractJavaScanner
  21. def flushDoc : DocComment

    return recent scala doc, if any

    return recent scala doc, if any

    Definition Classes
    JavaScannerAbstractJavaScanner
  22. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  23. def getFraction (): Unit

    read fractional part and exponent of floating point number if one is present.

    read fractional part and exponent of floating point number if one is present.

    Attributes
    protected
  24. def getNumber (): Unit

    read a number into name and set base

    read a number into name and set base

    Attributes
    protected
  25. def getlitch (): AnyVal

    read next character in character or string literal:

    read next character in character or string literal:

    Attributes
    protected
  26. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  27. var in : JavaCharArrayReader

  28. def incompleteInputError (msg: String): Unit

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

  29. def init (): Unit

    INIT: read lookahead character and token.

  30. def intVal (negated: Boolean): Long

    convert name to long value

    convert name to long value

    Definition Classes
    JavaScannerAbstractJavaScanner
  31. def intVal : Long

    Definition Classes
    JavaScannerAbstractJavaScanner
  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. var lastPos : Int

    the first character position after the previous token

    the first character position after the previous token

    Definition Classes
    JavaTokenData
  34. def lookaheadToken : Int

  35. var name : TermName

    the name of an identifier or token

    the name of an identifier or token

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  36. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  37. val next : JavaTokenData

    we need one token lookahead

    we need one token lookahead

    Definition Classes
    JavaScannerAbstractJavaScanner
  38. def nextToken (): Unit

    Definition Classes
    JavaScannerAbstractJavaScanner
  39. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  40. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  41. var pos : Int

    the token's position

    the token's position

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  42. val prev : JavaTokenData

  43. def putChar (c: Char): Unit

    append Unicode character to "lit" buffer

    append Unicode character to "lit" buffer

    Attributes
    protected
  44. def putDocChar (c: Char): Unit

    add the given character to the documentation buffer

    add the given character to the documentation buffer

    Attributes
    protected
  45. def skipToken : Int

    read next token and return last position

    read next token and return last position

    Definition Classes
    JavaScannerAbstractJavaScanner
  46. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  47. def syntaxError (msg: String): Unit

    generate an error at the current token position

  48. def syntaxError (pos: Int, msg: String): Unit

    generate an error at the given position

  49. def toString (): String

    Definition Classes
    JavaScanner → AnyRef → Any
  50. var token : Int

    the next token

    the next token

    Definition Classes
    JavaTokenDataAbstractJavaTokenData
  51. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ScannerCommon

Inherited from CommonTokenData

Inherited from Cloneable

Inherited from JavaTokenData

Inherited from AbstractJavaScanner

Inherited from AbstractJavaTokenData

Inherited from AnyRef

Inherited from Any