parameters: (self, frame)
docstring: Return the buffer contents of the frame.
docstring_summary: Return the buffer contents of the frame.
docstring_tokens: Return the buffer contents of the frame .
function: def return_buffer_contents(self, frame):
          """Return the buffer contents of the frame."""
          if frame.eval_ctx.volatile:
              self.writeline('if context.eval_ctx.autoescape:')
              self.indent()
              self.writeline('return Markup(concat(%s))' % frame.buffer)
              self.outdent()
              self.writeline('else:')
              self.indent()
              self.writeline('return concat(%s)' % frame.buffer)
              self.outdent()
          elif frame.eval_ctx.autoescape:
              self.writeline('return Markup(concat(%s))' % frame.buffer)
          else:
              self.writeline('return concat(%s)' % frame.buffer)
function_tokens: def return_buffer_contents ( self , frame ) : if frame . eval_ctx . volatile : self . writeline ( 'if context.eval_ctx.autoescape:' ) self . indent ( ) self . writeline ( 'return Markup(concat(%s))' % frame . buffer ) self . outdent ( ) self . writeline ( 'else:' ) self . indent ( ) self . writeline ( 'return concat(%s)' % frame . buffer ) self . outdent ( ) elif frame . eval_ctx . autoescape : self . writeline ( 'return Markup(concat(%s))' % frame . buffer ) else : self . writeline ( 'return concat(%s)' % frame . buffer )