SmartyDiscounter

pamflet.SmartyDiscounter
trait SmartyDiscounter extends Discounter

Attributes

Graph
Supertypes
trait Discounter
trait TextWriter
trait ChunkStreamFactory
class Object
trait Matchable
class Any
Known subtypes
object PamfletDiscounter.type

Members list

Concise view

Value members

Concrete methods

override def createSpanConverter(linkDefinitions: Seq[LinkDefinitionChunk]): SpanConverter

Attributes

Definition Classes
Discounter

Inherited methods

def blockToText(block: Block)(implicit writer: Writer): Unit

Attributes

Inherited from:
TextWriter
def blocksToText(blocks: Seq[Block])(implicit writer: Writer): Unit

Attributes

Inherited from:
TextWriter
def createChunkStream(reader: Reader[Char]): Stream[(Chunk, Position)]

Attributes

Inherited from:
ChunkStreamFactory
def createChunkStream(str: String): Stream[(Chunk, Position)]

Attributes

Inherited from:
ChunkStreamFactory
def knockoff(source: CharSequence): Seq[Block]

Parses and returns our best guess at the sequence of blocks. It will never fail, just log all suspicious things.

Parses and returns our best guess at the sequence of blocks. It will never fail, just log all suspicious things.

Attributes

Inherited from:
Discounter
def newChunkParser: ChunkParser

Overridable factory method.

Overridable factory method.

Attributes

Inherited from:
ChunkStreamFactory
def spanToText(span: Span)(implicit writer: Writer): Unit

Attributes

Inherited from:
TextWriter
def toText(blocks: Seq[Block]): String

Creates a Group representation of the document.

Creates a Group representation of the document.

Attributes

Inherited from:
TextWriter

Inherited fields

lazy val chunkParser: ChunkParser

Attributes

Inherited from:
ChunkStreamFactory