code: def definitions(self):
      extras = list(self.cmake_extras) if self.cmake_extras else []
      definitions = [
          "-D{}={}".format(d[0], d[1]) for d in self._gen_defs()
      ]
      return definitions + extras
  
file_path: arrow/dev/archery/archery/lang/cpp.py
imports: import os
  from ..utils.cmake import CMakeDefinition
label_desc: Use image node_id 8 for calling the CppConfiguration obj's underlying member method code with example usage: obj.definitions() and returns: unknown