class_docstr: A line in repr output.
class_docstr_tok: ["A","line","in","repr","output","."]
docstr: Expand this line by adding children on their own line.
docstr_tok: ["Expand","this","line","by","adding","children","on","their","own","line","."]
code: def expand(self, indent_size: int) -> Iterable["_Line"]:
      """Expand this line by adding children on their own line."""
      node = self.node
      assert node is not None
      whitespace = self.whitespace
      assert node.children
      if node.key_repr:
          new_line = yield _Line(
              text=f"{node.key_repr}{node.key_separator}{node.open_brace}",
              whitespace=whitespace,
          )
      else:
          new_line = yield _Line(
              text=node.open_brace, whitespace=whitespace
          )
      child_whitespace = self.whitespace + " " * indent_size
      tuple_of_one = node.is_tuple and len(node.children) == 1
      for last, child in loop_last(node.children):
          separator = "," if tuple_of_one else node.separator
          line = _Line(
              parent=new_line,
              node=child,
              whitespace=child_whitespace,
              suffix=separator,
              last=last and not tuple_of_one,
          )
          yield line
  
      yield _Line(
          text=node.close_brace,
          whitespace=whitespace,
          suffix=self.suffix,
          last=self.last,
      )
  
imports: import builtins
  import collections
  import dataclasses
  import inspect
  import os
  import sys
  from array import array
  from collections import Counter, UserDict, UserList, defaultdict, deque
  from dataclasses import dataclass, fields, is_dataclass
  from inspect import isclass
  from itertools import islice
  from types import MappingProxyType
  from typing import TYPE_CHECKING, Any, Callable, DefaultDict, Dict, Iterable, List, Optional, Sequence, Set, Tuple, Union
  from rich.repr import RichReprResult
  from .None import get_console
  from ._loop import loop_last
  from ._pick import pick_bool
  from .abc import RichRenderable
  from .cells import cell_len
  from .highlighter import ReprHighlighter
  from .jupyter import JupyterMixin, JupyterRenderable
  from .measure import Measurement
  from .text import Text
label_desc: Use image node_id 3 for calling the _Line obj's underlying member method code with example usage: obj.expand(indent_size) without return types