Exemple #1
0
 def __parse_list_expression__(self, symbol_node: jcmuta.SymbolNode,
                               code: int):
     elements = list()
     for child in symbol_node.get_children():
         elements.append(self.__parse__(child, code))
     name = self.__unique_name__(symbol_node)
     return self.__new_reference__(name, symbol_node.get_data_type(), code)
Exemple #2
0
 def __parse_list_expression__(self, symbol_node: jcmuta.SymbolNode):
     elements = list()
     for child in symbol_node.get_children():
         elements.append(self.__parse__(child))
     return self.__parse_by_name__(self.__new_default_name__(symbol_node),
                                   symbol_node.get_data_type())