class_docstr: Base class for magic line parsers, designed for forgiving parsing
  of keyword lists.
code: def recurse_token(cls, token, inner):
      recursed = []
      for tok in token:
          if isinstance(tok, list):
              new_tok = [
                  s
                  for t in tok
                  for s in (
                      cls.recurse_token(t, inner)
                      if isinstance(t, list)
                      else [t]
                  )
              ]
              recursed.append(inner % "".join(new_tok))
          else:
              recursed.append(tok)
      return inner % "".join(recursed)
  
imports: from itertools import groupby
  import numpy
  import param
  import pyparsing
  from ..core.options import Cycle, Options, Palette
  from ..core.util import merge_option_dicts
  from ..operation import Compositor
  from .transform import dim
label_desc: Use image node_id 2 for calling the Parser obj's underlying member method code with example usage: obj.recurse_token(cls, token, inner) and returns: unknown