code: def build_tree_parser(patterns):
      
      def output():
          for pattern in patterns:
              yield (pattern.build_full_tree(), pattern.regex)
      return list(output())
docs: This parser_type simply outputs an array of [(tree, regex)]
          for use in another language.