()
| 84 | } |
| 85 | |
| 86 | func (n *node) assertUnattached() { |
| 87 | if n.list != nil { |
| 88 | panic(fmt.Sprintf("attempt to attach already-attached node %#v", n)) |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | // nodeContent is the interface type implemented by all AST content types. |
| 93 | type nodeContent interface { |
no outgoing calls
no test coverage detected