TNodeNavigator is for navigating TNode.
| 390 | |
| 391 | // TNodeNavigator is for navigating TNode. |
| 392 | type TNodeNavigator struct { |
| 393 | curr, root *TNode |
| 394 | attr int |
| 395 | } |
| 396 | |
| 397 | func (n *TNodeNavigator) NodeType() NodeType { |
| 398 | switch n.curr.Type { |
nothing calls this directly
no outgoing calls
no test coverage detected