class_docstr: The base class for nodes and leaves.
docstr: Returns the first leaf of a node or itself if this is a leaf.
docstr_tok: ["Returns","the","first","leaf","of","a","node","or","itself","if","this","is","a","leaf","."]
code: def get_first_leaf(self):
      """
      Returns the first leaf of a node or itself if this is a leaf.
      """
  
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 9 for calling the NodeOrLeaf obj's underlying member method code with example usage: obj.get_first_leaf() without return types