github.com/yuin/goldmark/ast.BaseNode.Parent (method)

33 uses

	github.com/yuin/goldmark/ast (current package)
		ast.go#L300: func (n *BaseNode) Parent() Node {
		ast.go#L363: 	d := n.Parent()

	github.com/yuin/goldmark/extension
		definition_list.go#L138: 		para.Parent().RemoveChild(para.Parent(), para)
		footnote.go#L248: 		list.Parent().RemoveChild(list.Parent(), list)
		table.go#L170: 		node.Parent().InsertAfter(node.Parent(), node, table)
		table.go#L172: 			node.Parent().RemoveChild(node.Parent(), node)
		table.go#L479: 	if n.Parent().Kind() == ast.KindTableHeader {

	github.com/yuin/goldmark/parser
		delimiter.go#L214: 		parent := opener.Parent()
		link.go#L144: 		ast.MergeOrReplaceTextSegment(last.Parent(), last, last.Segment)
		link.go#L157: 			ast.MergeOrReplaceTextSegment(last.Parent(), last, last.Segment)
		link.go#L169: 			ast.MergeOrReplaceTextSegment(last.Parent(), last, last.Segment)
		link.go#L178: 		last.Parent().RemoveChild(last.Parent(), last)
		link.go#L181: 	last.Parent().RemoveChild(last.Parent(), last)
		link.go#L376: 		s.Parent().ReplaceChild(s.Parent(), s, ast.NewTextSegment(s.Segment))
		link_ref.go#L46: 		node.Parent().ReplaceChild(node.Parent(), node, t)
		parser.go#L332: 		ast.MergeOrReplaceTextSegment(d.Parent(), d, d.Segment)
		parser.go#L334: 		d.Parent().RemoveChild(d.Parent(), d)
		parser.go#L876: 		if node.Parent() == nil {
		setext_headings.go#L58: 	if !ok || paragraph.Parent() != parent {
		setext_headings.go#L92: 			heading.Parent().InsertAfter(heading.Parent(), heading, para)
		setext_headings.go#L96: 		heading.Parent().RemoveChild(heading.Parent(), heading)
		setext_headings.go#L100: 		tp := tmp.Parent()