(node NodeType, offset uint32)
| 219 | } |
| 220 | |
| 221 | func (p *Markdown) addChild(node NodeType, offset uint32) *Node { |
| 222 | return p.addExistingChild(NewNode(node), offset) |
| 223 | } |
| 224 | |
| 225 | func (p *Markdown) addExistingChild(node *Node, offset uint32) *Node { |
| 226 | for !p.tip.canContain(node.Type) { |
no test coverage detected