TextBit<CompileFrom, CompileTo> class

A bit of text.

Implementers
Annotations
  • @immutable

Constructors

TextBit(TextBits parent)
Create a text bit.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
next TextBit
The next bit in the text tree. [...]
read-only
parent TextBits
The container TextBits.
final
prev TextBit
The previous bit in the text tree. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tsb TextStyleBuilder
The associated TextStyleBuilder.
read-only

Methods

compile(CompileFrom input) → CompileTo
Compiles input into output.
detach() bool
Removes self from the parent.
insertAfter(TextBit another) bool
Inserts self after another in the text tree.
insertBefore(TextBit another) bool
Inserts self before another in the text tree.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
replaceWith(TextBit another) bool
Replaces self with another.
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited