abstract class SourceFile extends AnyRef

abstract base class of a source file used in the compiler

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceFile
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceFile()

Abstract Value Members

  1. abstract def content: Array[Char]
  2. abstract def file: AbstractFile
  3. abstract def isEndOfLine(idx: Int): Boolean
  4. abstract def isLineBreak(idx: Int): Boolean
  5. abstract def isSelfContained: Boolean
  6. abstract def length: Int
  7. abstract def lineCount: Int
  8. abstract def lineToOffset(index: Int): Int
  9. abstract def lines(start: Int = 0, end: Int = lineCount): 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.

  10. abstract def offsetToLine(offset: Int): Int

Concrete 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def identifier(pos: Position): Option[String]
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lineToString(index: Int): String
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def path: String
  18. def position(offset: Int): Position
  19. 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.

  20. final def skipWhitespace(offset: Int): Int
    Annotations
    @tailrec()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    SourceFile → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped