def get_datatype_str(self, element, length):
spaces = '<STR_LIT:U+0020>'*(self.get_width(element) - length)<EOL>type_info = element.get('<STR_LIT:type>')<EOL>ret = '<STR_LIT>'<EOL>if type_info == '<STR_LIT>' or type_info == '<STR_LIT>':<EOL><INDENT>ret = spaces + '<STR_LIT>'.format(type_info)<EOL><DEDENT>elif element.get('<STR_LIT>') is not None:<EOL><INDENT>ret = spaces + element.get('<STR_LIT>')<EOL><DEDENT>if element.get('<STR_LIT>') is not None:<EOL><INDENT>return ret + '<STR_LIT>' + element.get('<STR_LIT>') + '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>return ret<EOL><DEDENT>
get_datatype_str

        High-level api: Produce a string that indicates the data type of a node.

        Parameters
        ----------

        element : `Element`
            A node in model tree.

        length : `int`
            String length that has been consumed.

        Returns
        -------

        str
            A string that indicates the data type of a node.