class_docstr: The super class for all nodes.
  A node has children, a type and possibly a parent node.
code: def __init__(self, children):
      self.children = children
      """
          A list of :class:`NodeOrLeaf` child nodes.
          """
      self.parent = None
      """
          The parent :class:`BaseNode` of this leaf.
          None if this is the root node.
          """
  
imports: import sys
  from abc import abstractmethod, abstractproperty
  from parso._compatibility import utf8_repr, encoding
  from parso.utils import split_lines
label_desc: Use image node_id 1 to create a new BaseNode object from inherited base classes: NodeOrLeaf with example: obj = BaseNode(children)