def append_value_continuation(self, linenum, indent, continuation):
        """
        :param linenum: The line number of the frame.
        :type linenum: int
        :param indent: The indentation level of the frame.
        :type indent: int
        :param continuation:
        :type continuation: str
        """
        frame = self.current_frame()
        assert isinstance(frame,FieldFrame) or isinstance(frame,ValueContinuationFrame)
        if isinstance(frame, FieldFrame):
            assert frame.indent < indent and frame.container.contains(ROOT_PATH, frame.field_name)
        if isinstance(frame, ValueContinuationFrame):
            assert frame.indent == indent and frame.container.contains(ROOT_PATH, frame.field_name)
            self.pop_frame()
        field_value = frame.field_value + '\n' + continuation
        frame.container.put_field(ROOT_PATH, frame.field_name, field_value)
        frame = ValueContinuationFrame(linenum, indent, frame.path, frame.container, frame.field_name, field_value)
        self.push_frame(frame)
def append_value_continuation ( self , linenum , indent , continuation ) : frame = self . current_frame ( ) assert isinstance ( frame , FieldFrame ) or isinstance ( frame , ValueContinuationFrame ) if isinstance ( frame , FieldFrame ) : assert frame . indent < indent and frame . container . contains ( ROOT_PATH , frame . field_name ) if isinstance ( frame , ValueContinuationFrame ) : assert frame . indent == indent and frame . container . contains ( ROOT_PATH , frame . field_name ) self . pop_frame ( ) field_value = frame . field_value + '\n' + continuation frame . container . put_field ( ROOT_PATH , frame . field_name , field_value ) frame = ValueContinuationFrame ( linenum , indent , frame . path , frame . container , frame . field_name , field_value ) self . push_frame ( frame )
:param linenum: The line number of the frame.
        :type linenum: int
        :param indent: The indentation level of the frame.
        :type indent: int
        :param continuation:
        :type continuation: str