def decode(self, text):
LOGGER.debug('<STR_LIT>')<EOL>if not text or type(text) is not str:<EOL><INDENT>raise SLTPParsingError(ERRORS['<STR_LIT>'])<EOL><DEDENT>LOGGER.debug('<STR_LIT>')<EOL>qual = re.compile(r'<STR_LIT>')<EOL>match = qual.match(text)<EOL>if match is None:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(text.split('<STR_LIT:\n>')[<NUM_LIT:0>]))<EOL><DEDENT>self.qual = match.group('<STR_LIT:value>')<EOL>text = qual.sub('<STR_LIT>', text)<EOL>reg = re.compile(r'<STR_LIT>', re.M)<EOL>text = reg.sub('<STR_LIT>', text)<EOL>self.text = text<EOL>self.at, self.ch, self.depth = <NUM_LIT:0>, '<STR_LIT>', <NUM_LIT:0><EOL>self.len = len(text)<EOL>self.next_chr()<EOL>result = self.value()<EOL>return result, self.qual<EOL>
Decode a Lua string to an dictionary
        :type text: str
        :rtype: dict
        :param text: string to decode
        :return: dictionary