Lines Matching full:change
41 '''Marker type for an individual change that happened to a
450 for change in changes:
451 self.print_change(change)
454 def print_change(self, change: BindingChange) -> None:
458 print(f'property ``{change.property}`` {details} changed from '
459 f'{change.start} to {change.end}')
460 if isinstance(change, ModifiedSpecifier2Cells):
461 print(f'specifier cells for space "{change.space}" '
462 f'are now named: {change.end} (old value: {change.start})')
463 elif isinstance(change, ModifiedBuses):
464 print(f'bus list changed from {change.start} to {change.end}')
465 elif isinstance(change, AddedProperty):
466 print(f'new property: ``{change.property}``')
467 elif isinstance(change, RemovedProperty):
468 print(f'removed property: ``{change.property}``')
469 elif isinstance(change, ModifiedPropertyType):
471 elif isinstance(change, ModifiedPropertyEnum):
473 elif isinstance(change, ModifiedPropertyConst):
475 elif isinstance(change, ModifiedPropertyDefault):
477 elif isinstance(change, ModifiedPropertyDeprecated):
479 elif isinstance(change, ModifiedPropertyRequired):
480 if not change.start and change.end:
481 print(f'property ``{change.property}`` is now required')
483 print(f'property ``{change.property}`` is no longer required')
485 raise ValueError(f'unknown type for {change}: {type(change)}')