MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / baseNode

Struct baseNode

internal/markdown/ast.go:40–45  ·  view source on GitHub ↗

baseNode provides common fields.

Source from the content-addressed store, hash-verified

38
39// baseNode provides common fields.
40type baseNode struct {
41 nodeType NodeType
42 nodeChildren []Node
43 level int
44 content string
45}
46
47func (n *baseNode) Type() NodeType { return n.nodeType }
48func (n *baseNode) Children() []Node { return n.nodeChildren }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected