'Inserts the contents of another code writer (created with
the same global state) in the current location.
It is ok to write to the inserted writer also after insertion.'

def insert(self, writer):

    assert (writer.globalstate is self.globalstate)
    self.buffer.insert(writer.buffer)
