Packages

case class Source(path: PathLike, code: SourceData, lineOffset: Int, columnOffset: Int, outer: Option[Source], startLine: Option[Int] = None, startColumn: Option[Int] = None) extends Product with Serializable

Encapsulation of a chunk of code, position tells you where it came from in path

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Source
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Source(path: PathLike, code: SourceData, lineOffset: Int, columnOffset: Int, outer: Option[Source], startLine: Option[Int] = None, startColumn: Option[Int] = None)

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. def asInsensitiveStream: CaseInsensitiveInputStream
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asStream: CharStream
  7. def asUTF8: Array[Byte]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val code: SourceData
  10. val columnOffset: Int
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def extractSource(context: ParserRuleContext): Source
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getLocation(context: ParserRuleContext): PathLocation

    Find a location for a rule, adapts based on source offsets to give absolute position in file

  16. lazy val hash: Int
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val lineOffset: Int
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val outer: Option[Source]
  23. val path: PathLike
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def stampLocation(positionable: Positionable, context: ParserRuleContext): Unit
  26. val startColumn: Option[Int]
  27. val startLine: Option[Int]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped