code: def leave_DirectiveDefinition(self, node, *args):
      return "directive @{}{} on {}".format(
          node.name,
          wrap("(", join(node.arguments, ", "), ")"),
          " | ".join(node.locations),
      )
  
imports: import json
  from .visitor import Visitor, visit
label_desc: Use image node_id 36 for calling the PrintingVisitor obj's underlying member method code with example usage: obj.leave_DirectiveDefinition(node) and returns: str