children method

  1. @override
List<LatexNode> children()
override

Returns all direct child nodes (ordered). Leaf nodes return an empty list.

Implementation

@override
List<LatexNode> children() => [
  if (leftSub != null) leftSub!,
  if (leftSup != null) leftSup!,
  if (rightSub != null) rightSub!,
  if (rightSup != null) rightSup!,
  base,
];