code: def ui_parser(tokens, line_idx, id_inline=False, **kwargs):
      if id_inline:
          return [(str(line_idx + 1), iid, 1.0) for iid in tokens]
      else:
          return [(tokens[0], iid, 1.0) for iid in tokens[1:]]
  
imports: import ast
  import itertools
  from collections import Counter
label_desc: Use image node_id 1 for calling a global function with example usage: ui_parser(tokens, line_idx, id_inline) and returns: unknown, unknown