Packages

case class ParsingStream(source: URI, parentInfo: ParentInfo, nsMap: NamespaceMap, format: String, stream: BufferedReader) extends MMTTask with Product with Serializable

ParsingStream encapsulates the input of a StructureParser

source

the URI of the stream

parentInfo

information about the parent (if any) of the content in the stream (which - if given - must exist)

nsMap

defined namespaces

format

the format of the stream

stream

the stream to parse

Source
Parser.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParsingStream
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MMTTask
  7. Killable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParsingStream(source: URI, parentInfo: ParentInfo, nsMap: NamespaceMap, format: String, stream: BufferedReader)

    source

    the URI of the stream

    parentInfo

    information about the parent (if any) of the content in the stream (which - if given - must exist)

    nsMap

    defined namespaces

    format

    the format of the stream

    stream

    the stream to parse

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 addListener(l: MMTTaskProgressListener): Unit
    Definition Classes
    MMTTask
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def diesWith(implicit that: Killable): ParsingStream.this.type

    gives a killable object the same kill button as one that is already around

    gives a killable object the same kill button as one that is already around

    For example, when processing a task, generates a subtask, this should be called on the subtask to ensure killing the overall task also kills the subtask.

    Definition Classes
    Killable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val format: String
  11. def fullString: String

    the whole stream as a string

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getReports: List[MMTTaskProgress]

    get all reports in reverse chronological order

    get all reports in reverse chronological order

    Definition Classes
    MMTTask
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isKilled: Boolean

    processing should be aborted gracefully if true

    processing should be aborted gracefully if true

    Definition Classes
    Killable
  16. def kill: Unit

    signals aborting of processing

    signals aborting of processing

    Definition Classes
    Killable
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val nsMap: NamespaceMap
  21. val parentInfo: ParentInfo
  22. def removeListener(l: MMTTaskProgressListener): Unit
    Definition Classes
    MMTTask
  23. def reportProgress(a: MMTTaskProgress): Unit

    adds a report and forwards it to all listeners

    adds a report and forwards it to all listeners

    Definition Classes
    MMTTask
  24. def setTimeout[A](millisec: Int)(f: () ⇒ Unit): ParsingStream.this.type

    presses the kill button after the specified number of milli seconds

    presses the kill button after the specified number of milli seconds

    Definition Classes
    Killable
  25. val source: URI
  26. val stream: BufferedReader
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MMTTask

Inherited from Killable

Inherited from AnyRef

Inherited from Any

Ungrouped