parameters: (self, macro_ref, frame)
docstring: Dump the macro definition for the def created by macro_body.
docstring_summary: Dump the macro definition for the def created by macro_body.
docstring_tokens: Dump the macro definition for the def created by macro_body .
function: def macro_def(self, macro_ref, frame):
          """Dump the macro definition for the def created by macro_body."""
          arg_tuple = ', '.join(repr(x.name) for x in macro_ref.node.args)
          name = getattr(macro_ref.node, 'name', None)
          if len(macro_ref.node.args) == 1:
              arg_tuple += ','
          self.write('Macro(environment, macro, %r, (%s), %r, %r, %r, '
                     'context.eval_ctx.autoescape)' %
                     (name, arg_tuple, macro_ref.accesses_kwargs,
                      macro_ref.accesses_varargs, macro_ref.accesses_caller))
function_tokens: def macro_def ( self , macro_ref , frame ) : arg_tuple = ', ' . join ( repr ( x . name ) for x in macro_ref . node . args ) name = getattr ( macro_ref . node , 'name' , None ) if len ( macro_ref . node . args ) == 1 : arg_tuple += ',' self . write ( 'Macro(environment, macro, %r, (%s), %r, %r, %r, ' 'context.eval_ctx.autoescape)' % ( name , arg_tuple , macro_ref . accesses_kwargs , macro_ref . accesses_varargs , macro_ref . accesses_caller ) )