def to_string(self): return '%s(condition=%s, body_if_true=%s, body_if_false=%s)' % ( self.__class__.__name__, self.condition.to_string(), self.body_if_true.to_string(), nullable_to_string(self.body_if_false))
def to_string(self): return '%s(exp=%s, next=%s)' % (self.__class__.__name__, self.expression.to_string(), nullable_to_string(self.next))
def to_string(self): return '%s(name=%s, next=%s, declaration=%s)' % ( self.__class__.__name__, self.name, nullable_to_string( self.next), nullable_to_string(self.declaration))
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))
def to_string(self): return '%s(name=%s, type=%s)' % (self.__class__.__name__, self.name, nullable_to_string(self.type))
def to_string(self): return '%s(name=%s, type=%s, expression=%s)' % ( self.__class__.__name__, self.name, nullable_to_string( self.type), self.expression.to_string())