Make a child node for `self`.
(
self,
tokens: Sequence[Token],
)
| 187 | return None |
| 188 | |
| 189 | def _add_child( |
| 190 | self, |
| 191 | tokens: Sequence[Token], |
| 192 | ) -> None: |
| 193 | """Make a child node for `self`.""" |
| 194 | child = type(self)(tokens, create_root=False) |
| 195 | child.parent = self |
| 196 | self.children.append(child) |
| 197 | |
| 198 | def _set_children_from_tokens(self, tokens: Sequence[Token]) -> None: |
| 199 | """Convert the token stream to a tree structure and set the resulting |
no outgoing calls
no test coverage detected