scala.tools.nsc.interactive.RichCompilationUnits

RichCompilationUnit

class RichCompilationUnit extends CompilationUnit

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

Instance Constructors

  1. new RichCompilationUnit(source: SourceFile)

Type Members

  1. case class Comment(text: String, pos: Position) extends Product with Serializable

    representation for a source code comment, includes '//' or '/*' '*/ in the value and the position

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
    CompilationUnitCompilationUnitTrait
  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. val comments: ListBuffer[Comment]

    all comments found in this compilation unit

    all comments found in this compilation unit

    Definition Classes
    CompilationUnit
  13. var contexts: Contexts

  14. val defined: HashSet[Symbol]

    so we can relink

    so we can relink

    Definition Classes
    CompilationUnit
  15. 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
  16. def deprecationWarning(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 finalize(): Unit

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

    the fresh name creator

    the fresh name creator

    Definition Classes
    CompilationUnitCompilationUnitTrait
  23. def freshTermName(prefix: String): TermName

    Definition Classes
    CompilationUnitCompilationUnitTrait
  24. def freshTypeName(prefix: String): TypeName

    Definition Classes
    CompilationUnitCompilationUnitTrait
  25. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  27. 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
  28. def incompleteInputError(pos: Position, msg: String): Unit

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

    Definition Classes
    Any
  30. lazy val isJava: Boolean

    Is this about a .

    Is this about a .java source file?

    Definition Classes
    CompilationUnit
  31. def isParsed: Boolean

    Unit has been parsed

  32. def isTypeChecked: Boolean

    Unit has been typechecked, but maybe not in latest runs

  33. def isUpToDate: Boolean

    Unit has been typechecked and is up to date

  34. var lastBody: Tree

    The last fully type-checked body of this unit

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

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

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

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

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

    The problems reported for this unit

  40. var status: Int

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

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

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

    Synthetic definitions generated by namer, eliminated by typer.

    Synthetic definitions generated by namer, eliminated by typer.

    Definition Classes
    CompilationUnit
  43. 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
  44. def targetPos_=(p: Position): Unit

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

    things to check at end of compilation unit

    things to check at end of compilation unit

    Definition Classes
    CompilationUnit
  46. def toString(): String

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

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

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

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

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

    Definition Classes
    CompilationUnit

Inherited from CompilationUnit

Inherited from CompilationUnitTrait

Inherited from AnyRef

Inherited from Any