This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
204 B

  1. # -*- coding: utf-8 -*-
  2. from .lark import Lark
  3. from .tree import Tree
  4. class Reconstructor:
  5. def __init__(self, parser: Lark):
  6. ...
  7. def reconstruct(self, tree: Tree) -> str:
  8. ...