scala.tools.nsc.interactive.RichCompilationUnits

RichCompilationUnit

class RichCompilationUnit extends CompilationUnit

Source
RichCompilationUnits.scala
Linear Supertypes
CompilationUnit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RichCompilationUnit
  2. CompilationUnit
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichCompilationUnit(source: SourceFile)

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. var _targetPos: Position

    The position of a targeted type check If this is different from NoPosition, the type checking will stop once a tree that contains this position range is fully attributed.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. var body: Tree

    the content of the compilation unit in tree form

    the content of the compilation unit in tree form

    Definition Classes
    CompilationUnit
  9. def clear(): Unit

    Definition Classes
    CompilationUnit
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def comment(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  12. var contexts: Contexts

  13. val defined: HashSet[Symbol]

    so we can relink

    so we can relink

    Definition Classes
    CompilationUnit
  14. val depends: HashSet[Symbol]

    Note: depends now contains toplevel classes.

    Note: depends now contains toplevel classes. To get their sourcefiles, you need to dereference with .sourcefile

    Definition Classes
    CompilationUnit
  15. def deprecationWarning(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  16. def echo(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  17. var editPoint: Int

    the current edit point offset

  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def error(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  21. def exists: Boolean

    Definition Classes
    CompilationUnit
  22. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. var fresh: FreshNameCreator

    the fresh name creator

    the fresh name creator

    Definition Classes
    CompilationUnit
  24. def freshTermName(prefix: String): TermName

    Definition Classes
    CompilationUnit
  25. def freshTypeName(prefix: String): TypeName

    Definition Classes
    CompilationUnit
  26. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  28. val icode: LinkedHashSet[IClass]

    The icode representation of classes in this compilation unit.

    The icode representation of classes in this compilation unit. It is empty up to phase 'icode'.

    Definition Classes
    CompilationUnit
  29. def incompleteInputError(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. lazy val isJava: Boolean

    Is this about a .

    Is this about a .java source file?

    Definition Classes
    CompilationUnit
  32. def isParsed: Boolean

    Unit has been parsed

  33. def isTypeChecked: Boolean

    Unit has been typechecked, but maybe not in latest runs

  34. def isUpToDate: Boolean

    Unit has been typechecked and is up to date

  35. var lastBody: Tree

    The last fully type-checked body of this unit

  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. def position(pos: Int): Position

    Definition Classes
    CompilationUnit
  40. val problems: ArrayBuffer[Problem]

    The problems reported for this unit

  41. var status: Int

    The runid of the latest compiler run that typechecked this unit, or else @see NotLoaded, JustParsed

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. val synthetics: HashMap[Symbol, Tree]

    Synthetic definitions generated by namer, eliminated by typer.

    Synthetic definitions generated by namer, eliminated by typer.

    Definition Classes
    CompilationUnit
  44. def targetPos: Position

    The position of a targeted type check If this is different from NoPosition, the type checking will stop once a tree that contains this position range is fully attributed.

    The position of a targeted type check If this is different from NoPosition, the type checking will stop once a tree that contains this position range is fully attributed.

    Definition Classes
    RichCompilationUnitCompilationUnit
  45. def targetPos_=(p: Position): Unit

  46. val toCheck: ListBuffer[() ⇒ Unit]

    things to check at end of compilation unit

    things to check at end of compilation unit

    Definition Classes
    CompilationUnit
  47. def toString(): String

    Definition Classes
    CompilationUnit → AnyRef → Any
  48. def uncheckedWarning(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. def warning(pos: Position, msg: String): Unit

    Definition Classes
    CompilationUnit

Inherited from CompilationUnit

Inherited from AnyRef

Inherited from Any