class documentation
class NameDelta:
What changed in one of the graph's three vocabularies.
| Method | types |
Return the types this delta leaves on one name, or None if it carries no news of it. |
| Instance Variable | appeared |
Names that were not there before, with the types they carry. |
| Instance Variable | retyped |
Names that stayed and whose types changed, with the types they carry now. Separate from appeared because a Binding that already took its nodes from a type cannot take them again. |
| Instance Variable | vanished |
Names that are no longer there, in sorted order. |
| Property | empty |
Return whether nothing changed in this vocabulary. |
Return the types this delta leaves on one name, or None if it carries no news of it.
Appearing and being retyped count the same here, for a consumer still waiting to learn a type. A name that vanished answers None.