code: def parse_line(text):
      
      indent,text = calculate_indent(text)
      results = line_parser.parseString(text, parseAll=True).asList()
      return indent,results[0]
docs: :param text:
      :type text: str
      :return: