Ejemplo n.º 1
0
 def __str__(self):
     res = "BananaFile { "
     res += 'components: { '
     res += strut.dict_to_str(self.components)
     res += ' }, '
     res += 'statements: ' + self.statements_to_str()
     res += 'connections: { '
     res += str(self.connections)
     res += " } }"
     return res
Ejemplo n.º 2
0
 def __str__(self):
     res = "BananaFile { "
     res += 'components: { '
     res += strut.dict_to_str(self.components)
     res += ' }, '
     res += 'statements: ' + self.statements_to_str()
     res += 'connections: { '
     res += str(self.connections)
     res += " } }"
     return res
Ejemplo n.º 3
0
 def __str__(self):
     return "JsonObj< {} >".format(strut.dict_to_str(self.props))
Ejemplo n.º 4
0
 def __str__(self):
     return strut.dict_to_str(self._variables)
Ejemplo n.º 5
0
 def __str__(self):
     return "JsonObj< {} >".format(strut.dict_to_str(self.props))
Ejemplo n.º 6
0
 def __str__(self):
     if self.strict_checking:
         return "TypeStruct < {} >".format(strut.dict_to_str(self.props))
     else:
         return "TypeObject < {} >".format(strut.dict_to_str(self.props))
Ejemplo n.º 7
0
 def __str__(self):
     if self.strict_checking:
         return "TypeStruct < {} >".format(strut.dict_to_str(self.props))
     else:
         return "TypeObject < {} >".format(strut.dict_to_str(self.props))
Ejemplo n.º 8
0
 def __str__(self):
     return strut.dict_to_str(self._variables)