Definition at line 12 of file compare_transform.py.
Public Member Functions | |
| __init__ (self, list[CompareVisitor]|None compare_visitors=None) | |
| None | report_error (self, str msg, *, path=None) |
| tuple[typing.Any, typing.Any] | visit (self, typing.Any left, typing.Any right) |
| tuple | visit_list (self, list|tuple left, typing.Any right) |
| tuple | visit_dict (self, dict left, typing.Any right) |
| tuple | visit_set (self, set|frozenset left, typing.Any right) |
| push (self, str path) | |
Static Public Attributes | |
| list | path [str] |
| typing | errors .DefaultDict[str, list[str]] |
Static Protected Attributes | |
| list | _compare_visitors [CompareVisitor] |
| testsuite._internal.compare_transform.CompareTransform.__init__ | ( | self, | |
| list[CompareVisitor] | None | compare_visitors = None ) |
Definition at line 18 of file compare_transform.py.
| testsuite._internal.compare_transform.CompareTransform.push | ( | self, | |
| str | path ) |
Definition at line 164 of file compare_transform.py.
| None testsuite._internal.compare_transform.CompareTransform.report_error | ( | self, | |
| str | msg, | ||
| * | , | ||
| path = None ) |
Definition at line 26 of file compare_transform.py.
| tuple[typing.Any, typing.Any] testsuite._internal.compare_transform.CompareTransform.visit | ( | self, | |
| typing.Any | left, | ||
| typing.Any | right ) |
Definition at line 30 of file compare_transform.py.
| tuple testsuite._internal.compare_transform.CompareTransform.visit_dict | ( | self, | |
| dict | left, | ||
| typing.Any | right ) |
Definition at line 95 of file compare_transform.py.
| tuple testsuite._internal.compare_transform.CompareTransform.visit_list | ( | self, | |
| list | tuple | left, | ||
| typing.Any | right ) |
Definition at line 55 of file compare_transform.py.
| tuple testsuite._internal.compare_transform.CompareTransform.visit_set | ( | self, | |
| set | frozenset | left, | ||
| typing.Any | right ) |
Definition at line 135 of file compare_transform.py.
|
staticprotected |
Definition at line 16 of file compare_transform.py.
|
static |
Definition at line 14 of file compare_transform.py.
|
static |
Definition at line 13 of file compare_transform.py.