Passage

com.alecdorrington.annotatedtextformat.dom.Passage
See thePassage companion class
object Passage

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Passage.type

Members list

Value members

Concrete methods

def apply(root: Node, skip: Element => Boolean = ...): Passage

The passage beneath root, in which the elements that are nonProse, those that skip holds for too, as code may be, and those of decorations, are not prose.

The passage beneath root, in which the elements that are nonProse, those that skip holds for too, as code may be, and those of decorations, are not prose.

Attributes

Concrete fields

val decorated: String

The attribute held by every element that a decoration puts in a page, whose value is the text it took the place of, if any.

The attribute held by every element that a decoration puts in a page, whose value is the text it took the place of, if any.

Attributes

val nonProse: Element => Boolean

Whether element holds no prose, as a script, a style, a field to fill in or a document's head does, which a passage always leaves out.

Whether element holds no prose, as a script, a style, a field to fill in or a document's head does, which a passage always leaves out.

Attributes

val placeholder: Char

What stands for an element in a passage's text, of which none is prose.

What stands for an element in a passage's text, of which none is prose.

Attributes