Example #1
0
 def _get_dot_lst_cursor(lst_ast_obj, parent_ast_obj):
     char_new_line = "\\l"
     # example : "+ name : string\l+ age : int\l"
     # or empty : ""
     str_var = char_new_line.join([ASTObject._get_dot_format(var, parent_ast_obj) for var in lst_ast_obj])
     if str_var:
         str_var += char_new_line
     return str_var
Example #2
0
 def get_dot(self):
     return ASTObject._get_dot_format(self)