kubernetes/vendor/github.com/russross/blackfriday/v2/node.go

type NodeType

const Document

const BlockQuote

const List

const Item

const Paragraph

const Heading

const HorizontalRule

const Emph

const Strong

const Del

const Link

const Image

const Text

const HTMLBlock

const CodeBlock

const Softbreak

const Hardbreak

const Code

const HTMLSpan

const Table

const TableCell

const TableHead

const TableBody

const TableRow

var nodeTypeNames

func (t NodeType) String() string {}

type ListData

type LinkData

type CodeBlockData

type TableCellData

type HeadingData

type Node

// NewNode allocates a node of a specified type.
func NewNode(typ NodeType) *Node {}

func (n *Node) String() string {}

// Unlink removes node 'n' from the tree.
// It panics if the node is nil.
func (n *Node) Unlink() {}

// AppendChild adds a node 'child' as a child of 'n'.
// It panics if either node is nil.
func (n *Node) AppendChild(child *Node) {}

// InsertBefore inserts 'sibling' immediately before 'n'.
// It panics if either node is nil.
func (n *Node) InsertBefore(sibling *Node) {}

// IsContainer returns true if 'n' can contain children.
func (n *Node) IsContainer() bool {}

// IsLeaf returns true if 'n' is a leaf node.
func (n *Node) IsLeaf() bool {}

func (n *Node) canContain(t NodeType) bool {}

type WalkStatus

const GoToNext

const SkipChildren

const Terminate

type NodeVisitor

// Walk is a convenience method that instantiates a walker and starts a
// traversal of subtree rooted at n.
func (n *Node) Walk(visitor NodeVisitor) {}

type nodeWalker

func newNodeWalker(root *Node) *nodeWalker {}

func (nw *nodeWalker) next() {}

func dump(ast *Node) {}

func dumpR(ast *Node, depth int) string {}

func dumpString(ast *Node) string {}