TextGroupNode class final

Text mode: \text{…}, \mbox{…}, \hbox{…}. The body holds TextNode runs and math islands ($…$).

Inheritance

Constructors

TextGroupNode(SourceSpan span, RowNode body, {String? command})
Creates a text-mode group.
const

Properties

body → RowNode
The content.
final
children → Iterable<MathNode>
The non-null children.
no setterinherited
command → String?
The command.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → String
Short name used by dump.
no setteroverride
props → Map<String, Object?>
Scalar attributes, for dump and tooling.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → List<(String, MathNode?)>
Named child slots, in source order. Absent children are null.
no setteroverride
span → SourceSpan
Where in the normalized source this node came from.
finalinherited

Methods

dump() → String
A compact, deterministic s-expression of the subtree, for tests and debugging. Spans are omitted.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited