c

scala.reflect.internal.util

BatchSourceFile

class BatchSourceFile extends SourceFile

a file whose contents do not change over time

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchSourceFile
  2. SourceFile
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
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, content0: Array[Char])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val content: Array[Char]
    Definition Classes
    BatchSourceFileSourceFile
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(that: Any): Boolean
    Definition Classes
    BatchSourceFile → AnyRef → Any
  9. val file: AbstractFile
    Definition Classes
    BatchSourceFileSourceFile
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    BatchSourceFile → AnyRef → Any
  13. def identifier(pos: Position): Option[String]
    Definition Classes
    BatchSourceFileSourceFile
  14. def isAtEndOfLine(idx: Int): Boolean

    True if the index is end of an EOL sequence.

  15. def isEndOfLine(idx: Int): Boolean

    True if the index is included by an EOL sequence.

    True if the index is included by an EOL sequence.

    Definition Classes
    BatchSourceFileSourceFile
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isLineBreak(idx: Int): Boolean
    Definition Classes
    BatchSourceFileSourceFile
  18. def isSelfContained: Boolean
    Definition Classes
    BatchSourceFileSourceFile
  19. def length: Int
    Definition Classes
    BatchSourceFileSourceFile
  20. def lineCount: Int
    Definition Classes
    BatchSourceFileSourceFile
  21. def lineToOffset(index: Int): Int
    Definition Classes
    BatchSourceFileSourceFile
  22. def lineToString(index: Int): String
    Definition Classes
    SourceFile
  23. def lines(start: Int, end: Int): Iterator[String]

    An iterator over the lines between start and end.

    An iterator over the lines between start and end.

    Bounds are checked and clipped as necessary.

    Definition Classes
    BatchSourceFileSourceFile
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def offsetToLine(offset: Int): Int

    Convert offset to line in this source file.

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

    Definition Classes
    BatchSourceFileSourceFile
  28. def path: String
    Definition Classes
    SourceFile
  29. def position(offset: Int): Position
    Definition Classes
    SourceFile
  30. 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
  31. final def skipWhitespace(offset: Int): Int
    Definition Classes
    SourceFile
    Annotations
    @tailrec()
  32. def start: Int
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    SourceFile → AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from SourceFile

Inherited from AnyRef

Inherited from Any

Ungrouped