final case class SourceData(source: Array[Byte], offset: Int, length: Int, sourceHash: Option[Int] = None, isASCII: Option[Boolean] = None) extends Product with Serializable
Source code data chunk.
- source
some block of code, typically shared between SourceData instances to save memory.
- offset
index into source to start
- length
length from offset to use in bytes
- sourceHash
hash code for all of source, maybe precomputed
- isASCII
set if source only uses ASCII characters, maybe precomputed
- Alphabetic
- By Inheritance
- SourceData
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SourceData(source: Array[Byte], offset: Int, length: Int, sourceHash: Option[Int] = None, isASCII: Option[Boolean] = None)
- source
some block of code, typically shared between SourceData instances to save memory.
- offset
index into source to start
- length
length from offset to use in bytes
- sourceHash
hash code for all of source, maybe precomputed
- isASCII
set if source only uses ASCII characters, maybe precomputed
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def asInsensitiveStream: CaseInsensitiveInputStream
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asStream: CharStream
- def asString: String
- def asUTF8: Array[Byte]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val hash: Int
- var isASCII: Option[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val length: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val offset: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val source: Array[Byte]
- var sourceHash: Option[Int]
- def subdata(startChar: Int, stopBeforeChar: Int): SourceData
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()