code: def style_with_executing_node(style, modifier):
      from pygments.styles import get_style_by_name
  
      if isinstance(style, str):
          style = get_style_by_name(style)
  
      class NewStyle(style):
          for_executing_node = True
  
          styles = {
              **style.styles,
              **{
                  k.ExecutingNode: v + " " + modifier
                  for k, v in style.styles.items()
              },
          }
  
      return NewStyle
  
imports: import ast
  import html
  import os
  import sys
  from collections import defaultdict, Counter
  from enum import Enum
  from textwrap import dedent
  from types import FrameType, CodeType, TracebackType
  from typing import Iterator, List, Tuple, Optional, NamedTuple, Any, Iterable, Callable, Union, Sequence
  from typing import Mapping
  import executing
  from asttokens.util import Token
  from executing import only
  from pure_eval import Evaluator, is_expression_interesting
  from stack_data.utils import truncate, unique_in_order, line_range, frame_and_lineno, iter_stack, collapse_repeated, group_by_key_func, cached_property, is_frame, _pygmented_with_ranges, assert_
label_desc: Use image node_id 2 for calling a global function with example usage: style_with_executing_node(style, modifier) and returns: NewStyle