ChainNode represents an optional chaining group. A few MemberNode nodes can be chained together, and will be wrapped in a ChainNode. Example: foo.bar?.baz?.qux The whole chain will be wrapped in a ChainNode.
| 142 | // |
| 143 | // The whole chain will be wrapped in a ChainNode. |
| 144 | type ChainNode struct { |
| 145 | base |
| 146 | Node Node // Node of the chain. |
| 147 | } |
| 148 | |
| 149 | // MemberNode represents a member access. |
| 150 | // It can be a field access, a method call, |
nothing calls this directly
no outgoing calls
no test coverage detected