Exemplo n.º 1
0
 def to_string(self):
     return '%s(name=%s, args=%s)' % (self.__class__.__name__, self.name,
                                      list_to_string(self.arguments))
Exemplo n.º 2
0
 def to_string(self):
     return '%s(declarations=%s, expressions=%s)' % (
         self.__class__.__name__, list_to_string(
             self.declarations), list_to_string(self.expressions))
Exemplo n.º 3
0
 def to_string(self):
     return '%s(length=%d, array=%s)' % (
         self.__class__.__name__, self.length, list_to_string(self.array))
Exemplo n.º 4
0
 def to_string(self):
     return '%s(type=%s, values=%s)' % (self.__class__.__name__,
                                        self.type.to_string(),
                                        list_to_string(self.values))
Exemplo n.º 5
0
 def to_string(self):
     return '%s(name=%s, parameters=%s, return_type=%s)' % (
         self.__class__.__name__, self.name, list_to_string(
             self.parameters), nullable_to_string(self.return_type))