scala.tools.nsc.util

BatchSourceFile

class BatchSourceFile extends SourceFile

a file whose contents do not change over time

Source
SourceFile.scala
Linear Supertypes
SourceFile, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BatchSourceFile
  2. SourceFile
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  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 BatchSourceFile(file: AbstractFile, cs: Seq[Char])

  2. new BatchSourceFile(sourceName: String, cs: Seq[Char])

  3. new BatchSourceFile(_file: AbstractFile)

  4. new BatchSourceFile(file: AbstractFile, content: Array[Char])

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 BatchSourceFile to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (BatchSourceFile, B)

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to ArrowAssoc[BatchSourceFile] 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def beginsWith(offset: Int, text: String): Boolean

    Definition Classes
    SourceFile
  10. def calculateLineIndices(cs: Array[Char]): Array[Int]

  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val content: Array[Char]

    Definition Classes
    BatchSourceFileSourceFile
  13. def dbg(offset: Int): String

    Definition Classes
    SourceFile
  14. def ensuring(cond: (BatchSourceFile) ⇒ Boolean, msg: ⇒ Any): BatchSourceFile

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

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

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

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

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

    Definition Classes
    BatchSourceFile → AnyRef → Any
  20. val file: AbstractFile

    Definition Classes
    BatchSourceFileSourceFile
  21. def finalize(): Unit

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

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

    Definition Classes
    BatchSourceFile → AnyRef → Any
  25. def identifier(pos: Position): Option[String]

    Definition Classes
    BatchSourceFileSourceFile
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isLineBreak(idx: Int): Boolean

    Definition Classes
    BatchSourceFileSourceFile
  28. def isSelfContained: Boolean

    Definition Classes
    BatchSourceFileSourceFile
  29. val length: Int

    Definition Classes
    BatchSourceFileSourceFile
  30. def lineToOffset(index: Int): Int

    Definition Classes
    BatchSourceFileSourceFile
  31. def lineToString(index: Int): String

    Definition Classes
    SourceFile
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def offsetToLine(offset: Int): Int

    Convert offset to line in this source file Lines are numbered from 0

    Convert offset to line in this source file Lines are numbered from 0

    Definition Classes
    BatchSourceFileSourceFile
  36. def path: String

    Definition Classes
    SourceFile
  37. def position(line: Int, column: Int): Position

    Definition Classes
    SourceFile
  38. def position(offset: Int): Position

    Definition Classes
    SourceFile
  39. def positionInUltimateSource(position: Position): Position

    Map a position to a position in the underlying source file.

    Map a position to a position in the underlying source file. For regular source files, simply return the argument.

    Definition Classes
    SourceFile
  40. val self: Any

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  41. val self: Any

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  42. final def skipWhitespace(offset: Int): Int

    Definition Classes
    SourceFile
    Annotations
    @tailrec()
  43. def start: Int

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

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    SourceFile → AnyRef → Any
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. def [B](y: B): (BatchSourceFile, B)

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

Deprecated Value Members

  1. def x: BatchSourceFile

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to ArrowAssoc[BatchSourceFile] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: BatchSourceFile

    Implicit information
    This member is added by an implicit conversion from BatchSourceFile to Ensuring[BatchSourceFile] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from SourceFile

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from BatchSourceFile to StringFormat

Inherited by implicit conversion any2stringadd from BatchSourceFile to StringAdd

Inherited by implicit conversion any2ArrowAssoc from BatchSourceFile to ArrowAssoc[BatchSourceFile]

Inherited by implicit conversion any2Ensuring from BatchSourceFile to Ensuring[BatchSourceFile]