63 lines
1.4 KiB
Python
63 lines
1.4 KiB
Python
from xml.etree import ElementTree as ET
|
|
|
|
from ast_parser.general_unparser import GeneralUnparser
|
|
from constants import *
|
|
|
|
|
|
class PythonUnparser(GeneralUnparser):
|
|
|
|
def unparse_xhs(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_top_block(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_block(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_routine(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_argument(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_statement(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_expression(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_declaration(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_operator(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_unary(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_stream(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_assignment(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_conditional(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_loop(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_routine_call(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_return(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_literal(self, element_in: ET.Element):
|
|
pass
|
|
|
|
def unparse_variable(self, element_in: ET.Element):
|
|
pass
|
|
|