Path 1: 380 calls (0.45)

None (380) '1' (75) '2' (21) "'Hello World'" (21) "'Paul Atreides'" (19) "'Vladimir Harkonnen'" (19) '3.1427' (18) "'Thufir Hawat'" (16) 'False' (16) ...

GeneratorExit (12)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 2: 170 calls (0.2)

None (170) '=' (138) 'x' (48) '2' (34) ': ' (32) '1' (30) 'y' (30) 'name' (22) 'bar' (17) 'None' (16)

GeneratorExit (1)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 3: 84 calls (0.1)

', ' (173) '=' (156) ')' (90) None (84) 'x' (66) 'y' (66) 'Example(' (64) '2' (62) '[' (42) '1' (42)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 4: 76 calls (0.09)

', ' (206) ': ' (96) None (76) '=' (64) '[' (56) ']' (56) ')' (54) '2' (37) 'y' (36) '(' (32)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 5: 64 calls (0.08)

None (64) ': ' (56) '{' (46) '}' (46) ')' (36) ', ' (34) '=' (32) '[' (22) ']' (22) 'Layout(' (16)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 6: 20 calls (0.02)

': ' (48) ', ' (36) '{' (24) '}' (24) '=' (20) None (20) '[' (16) ']' (16) "'a'" (12) "'b'" (12)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 7: 11 calls (0.01)

', ' (40) ': ' (14) '(' (14) None (11) '{' (9) '[' (8) "'Paul Atreides'" (8) "'Vladimir Harkonnen'" (8) "'foo'" (6) ')' (6)

GeneratorExit (11)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 8: 9 calls (0.01)

', ' (19) ': ' (12) "'Hello World'" (12) None (9) '[' (7) '(' (4) "'words'" (4) "'foo'" (3) "'atomic'" (2) 'False' (2)

GeneratorExit (9)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 9: 7 calls (0.01)

None (7) 'Layout(' (6) 'ExampleDataclass(' (1)

GeneratorExit (7)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 10: 6 calls (0.01)

'(' (6) '1' (6) ',' (6) ')' (6) None (6)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 11: 5 calls (0.01)

None (5) '{}' (3) 'Thing()' (1) '()' (1)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 12: 3 calls (0.0)

': ' (3) None (3) "'atomic'" (2) '(' (2) 'False' (2) "'words'" (1) '[' (1) "'Hello World'" (1)

GeneratorExit (3)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 13: 2 calls (0.0)

'[' (2) ', ' (2) None (2) '{' (1) "'foo'" (1) ': ' (1) '3.1427' (1) '(' (1) "'Paul Atreides'" (1) "'Vladimir Harkonnen'" (1)

GeneratorExit (2)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 14: 1 calls (0.0)

"'atomic'" (1) ': ' (1) '(' (1) None (1)

GeneratorExit (1)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 15: 1 calls (0.0)

'abc' (1) ': ' (1)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty
            

Path 16: 1 calls (0.0)

1def iter_tokens(self) -> Iterable[str]:
2        """Generate tokens for this node."""
3        if self.key_repr:
4            yield self.key_repr
5            yield self.key_separator
6        if self.value_repr:
7            yield self.value_repr
8        elif self.children is not None:
9            if self.children:
10                yield self.open_brace
11                if self.is_tuple and not self.is_namedtuple and len(self.children) == 1:
12                    yield from self.children[0].iter_tokens()
13                    yield ","
14                else:
15                    for child in self.children:
16                        yield from child.iter_tokens()
17                        if not child.last:
18                            yield self.separator
19                yield self.close_brace
20            else:
21                yield self.empty