scala.tools.nsc.interactive.RichCompilationUnits

RichCompilationUnit

class RichCompilationUnit extends Global.CompilationUnit

Source
RichCompilationUnits.scala
Linear Supertypes
Global.CompilationUnit, Global.CompilationUnitContextApi, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichCompilationUnit
  2. CompilationUnit
  3. CompilationUnitContextApi
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Global.RichCompilationUnit, B)

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to ArrowAssoc[Global.RichCompilationUnit] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. var _targetPos: Global.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.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. var body: Global.Tree

    the content of the compilation unit in tree form

    the content of the compilation unit in tree form

    Definition Classes
    CompilationUnit → CompilationUnitContextApi
  11. var checkedFeatures: Set[Global.Symbol]

    The features that were already checked for this unit

    The features that were already checked for this unit

    Definition Classes
    CompilationUnit
  12. def clear(): Unit

    Definition Classes
    CompilationUnit
  13. def clone(): AnyRef

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

    Definition Classes
    CompilationUnit
  15. var contexts: Global.Contexts

  16. val defined: HashSet[Global.Symbol]

    so we can relink

    so we can relink

    Definition Classes
    CompilationUnit
  17. val depends: HashSet[Global.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
  18. def deprecationWarning(pos: Global.Position, msg: String): Any

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

    Definition Classes
    CompilationUnit
  20. var editPoint: Int

    the current edit point offset

  21. def ensuring(cond: (Global.RichCompilationUnit) ⇒ Boolean, msg: ⇒ Any): Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (Global.RichCompilationUnit) ⇒ Boolean): Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: ⇒ Any): Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    CompilationUnit
  28. def exists: Boolean

    Definition Classes
    CompilationUnit
  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. var fresh: FreshNameCreator

    the fresh name creator

    the fresh name creator

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

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

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

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

    Definition Classes
    AnyRef → Any
  36. val icode: LinkedHashSet[Global.icodes.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
  37. def incompleteInputError(pos: Global.Position, msg: String): Unit

    Definition Classes
    CompilationUnit
  38. def inlinerWarning(pos: Global.Position, msg: String): Any

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

    Definition Classes
    Any
  40. lazy val isJava: Boolean

    Is this about a .

    Is this about a .java source file?

    Definition Classes
    CompilationUnit
  41. def isParsed: Boolean

    Unit has been parsed

  42. def isTypeChecked: Boolean

    Unit has been typechecked, but maybe not in latest runs

  43. def isUpToDate: Boolean

    Unit has been typechecked and is up to date

  44. var lastBody: Global.Tree

    The last fully type-checked body of this unit

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

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

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

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

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

    The problems reported for this unit

  50. var status: Int

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

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

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

    Synthetic definitions generated by namer, eliminated by typer.

    Synthetic definitions generated by namer, eliminated by typer.

    Definition Classes
    CompilationUnit
  53. def targetPos: Global.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
  54. def targetPos_=(p: Global.Position): Unit

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

    things to check at end of compilation unit

    things to check at end of compilation unit

    Definition Classes
    CompilationUnit
  56. def toString(): String

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

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

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

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

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

    Definition Classes
    CompilationUnit
  62. def [B](y: B): (Global.RichCompilationUnit, B)

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to ArrowAssoc[Global.RichCompilationUnit] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (richCompilationUnit: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (richCompilationUnit: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to ArrowAssoc[Global.RichCompilationUnit] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (richCompilationUnit: ArrowAssoc[Global.RichCompilationUnit]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Global.RichCompilationUnit

    Implicit information
    This member is added by an implicit conversion from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (richCompilationUnit: Ensuring[Global.RichCompilationUnit]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Global.CompilationUnit

Inherited from Global.CompilationUnitContextApi

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Global.RichCompilationUnit to StringAdd

Inherited by implicit conversion any2stringfmt from Global.RichCompilationUnit to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Global.RichCompilationUnit to ArrowAssoc[Global.RichCompilationUnit]

Inherited by implicit conversion any2Ensuring from Global.RichCompilationUnit to Ensuring[Global.RichCompilationUnit]

Ungrouped